permissions

Calling a WCF Service from SQL CLR Stored Procedure

跟風遠走 提交于 2019-12-10 11:24:16
问题 I have created a SQL CLR Stored Procedure which will call a WCF Service. I have managed to get all the correct DLL's loaded into SQL Server to get this to work however I now have following error message: System.Configuration.ConfigurationErrorsException: An error occurred creating the configuration section handler for system.serviceModel/extensions: Could not load file or assembly 'System.IdentityModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its

Can't get AllPermission configured for intranet applet. Can anyone help?

╄→гoц情女王★ 提交于 2019-12-10 11:24:05
问题 After doing a lot of reading and testing I've been unable to give all permissions to an intranet applet through the codeBase grant option. This applet need full permissions because it will have to acess driver libs for OCR readers (which also write image files to HDD) and other such external devices. I've configured my java.policy file and added the following: grant codebase " http://myIntranetServer/- " { permission java.security.AllPermission; }; After reloading the policy file in the

Linux: changing file ownership without a copy?

旧城冷巷雨未停 提交于 2019-12-10 11:23:28
问题 I have a REST server whose purpose is to organize files generated by various users. To keep things simple, both the server and the users have access to a shared network filesystem. The workflow is as follows: the user generates the file in a temp folder. He then notifies the server who then puts the file in a place of its own and stores some metadata in a database. The server should then own the files and take care of their deletion as needed. My problem is the following: since the files can

DCOM Security using a batch file

这一生的挚爱 提交于 2019-12-10 11:19:30
问题 Are there any methods to change the Access Permissions for COM Security using a batch file? I need to write new values to "Edit Limits..." and "Edit Default..." in both "Access Permissions" and "Launch and Activation Permissions" using a batch script. I'm using Windows XP machines with Service Pack 2 and 3. Thank you. 回答1: I recently had the need to create a batch script to grant default Local Activation permissions so that I could run an out-of-process COM component on Windows Azure. After

SQL Server 2008 Reporting Services permissions

孤者浪人 提交于 2019-12-10 11:19:00
问题 I'm having trouble with SQL Server 2008 (Express with Advanced Services) Reporting Services permissions. I'm running this on Vista Ultimate at home - standalone machine with no servers, no domain or active directory. When I go to the ReportServices site, I get this: The permissions granted to user ' localmachine \Scott' are insufficient for performing this operation. (rsAccessDenied) I don't remember having a problem at the office with SQL Standard on Windows 2008. 回答1: Try running IE as

Fastest Way to Determine User Permissions in /etc/sudoer

旧巷老猫 提交于 2019-12-10 11:09:59
问题 Users will be remotely accessing ***nix based machines via SSH and I need to determine the fastest way to check if the username that they are currently using has NOPASSWD access in the /etc/sudoers file. Possible options: grep for the username in /etc/sudoers, parse command prompt output to determine if it has NOPASSWD, if not, remove the line then append the new permissions Just append a permission string to the file regardless (bad idea). Attempt to sudo into a protected file and see if it

WPF (XBAP) application not trusted on some machines butother get a prompt and can run the application

妖精的绣舞 提交于 2019-12-10 10:49:07
问题 I'm having an Issue with a WPF file not running correctly. On some machines it starts a security prompt shows up and clicking ok lets the application run fine. but on other machines (some with an identical set up because the machines are all imaged the sames on this side of our network) no security pop up, just "Trust not Granted" I've Placed a Log below. I've tried things including but not limted to, deplying it directly to iis, to a file location and moving it over,( all using clickOnce) i

Java “symbol lookup error” for JLI_InitArgProcessing when running with setcap capabilities

徘徊边缘 提交于 2019-12-10 10:48:30
问题 We installed Java 11 on a server that is meant to monitor a network interface for traffic. After the initial installation ( yum install java-11-openjdk-devel.x86_64 ) the java command works properly for both root and a regular user. However, our Java application will not be running as root. We then ran: setcap cap_net_raw,cap_net_admin=eip /path/to/java It sets the capabilities, and running java -version as root works fine. But after running setcap , when I try to run java -version as a

Odd behavior when Git repo is in C:\Program Files

一世执手 提交于 2019-12-10 10:43:49
问题 We have a Git repo in C:\Program Files\Some-DB\Some-DB-Queries. When Git (or SourceTree) is run as Admin, everything works as expected. However, as non-Admin, after pulling into a local repo, Git sees those changes as uncommitted local changes. Does Git have to be run as Admin in Windows? If not, is there a way to configure security such that Git has the proper permissions for a repo living in Program Files? 来源: https://stackoverflow.com/questions/24493678/odd-behavior-when-git-repo-is-in-c

multiple permissions in android:permisson

吃可爱长大的小学妹 提交于 2019-12-10 10:43:05
问题 I have a requirement to parse the AndroidManifest.xml of an app to find out what permissions a client app need to possess in order to communicate with this app. As per android developer guidelines the permission mentioned in the android:permission attribute of application tag and component (Activity, Service, Provider, Receiver) tag is supposed to be possessed by the client app. An example (AndroidManifest.xml excerpt) of this usage is <application android:permission="android.permission