Is there a way to change permissions for all the tables in SQL-server database at once?
I want to change the permissions for all the tables in a SQL-Server database at once. Is there a way to do this? ...
I want to change the permissions for all the tables in a SQL-Server database at once. Is there a way to do this? ...
I'm building a system that has a user table and a project table. I'm trying to determine the most efficient way to connect users to a project. I'm was thinking about a table that records the relationship, but I wasn't sure if a serialized list in one field would work just as well. ...
Requirement: I need to copy a folder/directory and its contents located in a Machine A to Machine B successfully. Before starting to copy the following points needs to be consider for my requirement. If the destination machine,Destination folder is having access permissions or not for the user which he needs to copy from the source f...
I have a job on my MSSQL server 2005, that I want to allow any database user to run. I'm not worried about security, since the input to the job's actual work comes from a database table. Just running the job, without adding records to that table will do nothing. I just can't find how to grant public permissions to the job. Is there an...
Running permcalc on my assembly and its dependencies gives me the following for many methods: <Method Sig="instance class MembershipUser GetUser(string , bool )"> <Demand> <PermissionSet version="1" class="System.Security.PermissionSet" Unrestricted="true" /> </Demand> </Method> Most of the methods are, like the example ab...
I have a C# windows service which is running under the NetworkService account. It occassionally needs to print a Chart object which I do by simply calling: chart.Printing.Print(false); // suppress the Printer Dialog The weird thing is it seems works fine running as a console application. The only way it will work is if I run the serv...
Hi, I on occasion I get asked to produce a list of users who have Full Access rights to a particular Exchange 2007 Mailbox. At the moment I am doing this manually, and I'd ideally like to do it with Powershell. Is there anyway to produce a list of Full Access Permissions (and Send On Behalf rights would also be useful). Thanks, Jonny...
It's hard to find Mac-specific answers to this question on the web, so I'm hoping someone out there can put this one to rest for me? My permissions are screwed up on my sites and I'm not sure how to fix them without just slamming a recursive 777 on everything which is quite obviously incorrect. Thanks! ...
Here’s the simplest repro case possible. Create a brand new database. (I'm using SQL 2005.) Create a login, a SQL user, and a table in the new database (see sample code below). Launch SSMS and open Object Explorer, logging in as the newly-created user. Attempt to open the "Tables" folder in the Object Explorer. The Problem Fails wit...
I'm trying to something pretty simple but am having headaches with it. I'm pretty sure all I have here is a permissions issue I don't know how to solve but I could be wrong. Here is my scenario... I have 3 servers... Server A - Web Server (Windows 2003) - Anonymous Access Enabled Server B - Red 5 Media Server Server C - NAS The webs...
I have a php script which needs to connect to a database. The credentials for the database are stored in another php script. If I set the permissions for the credentials file to 661 so that Public has execute permission but not read permission, does this allow the main script to access the credentials and connect to the DB while prevent...
I am trying to move a Joomla site off my dev server onto the client's live server. I am installing a new copy Joomla in the process. I went through the install fine, pasted the config code together for the new site, but now then I wasn't able to update any site settings or install any modules/plugins/components. I changed all folders t...
Hello everyone, I am using Windows Server 2008 x64. I login using administrator. I want to add a new user for read/write access for a folder under c:\windows\system32. I tried to select folder (right click), then select Property -> Security -> Edit under Security Tab, the Add button is greyed out. Why? Any programming based or other qui...
Hi, I want my PHP software to be able to auto update. For this to work, I need PHP to be able to write into files both existing and non-existing (create). Will it always work if I just CHMOD the target files to be 0777 and then write into it? Or does the PHP/Apache/wtvr process need to be the owner of the file? Sometimes when people up...
Hi, I have discovered that querying catalog views (e.g. sys.conversation_endpoints) under my non-sa/restricted user will succeed but always return an empty set. What permission(s) do I need to grant my SQL login to be able to successfully query service broker catalog views..? Thanks in advance, Tamim. ...
I have been wracking my brain on how to solve this issue for hours now, and I know I'm not the first one to encounter it. I am having trouble granting anonymous users access to node content in Drupal 6.15. I have tried everything, including inserts to MySQL, checking and double-checking every permissions setting available (yes, I have e...
Python's tarfile module ignores errors during extraction by default, unless errorlevel is set to either 1 or 2 (or debug to 1 if only error messages need to be printed). Try doing a mkdir /tmp/foo && sudo chown root /tmp/foo && chmod a-w /tmp/foo and using tarfile to extract a .tar.gz file over /tmp/foo -- you will see that your Python...
This Nant task (controlled by CruiseControl) is failing to copy files to a share on another server. <target name="DeployToTargetDirectory" description="Copies files to target deploy folder (this may not be the final virtual directory)"> <if test="${not directory::exists(AppDeploymentFolder)}"> <fail message="Deployment folder not foun...
Hi everybody, Is it possible to require administrator rights for one single method? Something like this: [RequireAdminRightsForThisMethod()] private void TheMethod(){ // Do something } ...
I can create the folder, but I need to set the execute permissions to none/false for the folder named files. I have tried several examples on the net and none work correctly. Doing this manually in IIS is not an option, it must be done dynamically when the folder is created. Here is what I use to create the folders: set fso = Server.Cr...