permissions

Common CMS roles and access levels

I am currently writing a CMS and remember someone (it might have been on here) criticise the existing CMS for not having a robust enough user permissions system. I've got a method planned out but it I feel it has fallen into the usual trap of being a bit too fine-grained which makes understanding and implementing it a horror for end use...

sharepoint users cannot edit their workflow tasks

Hello, I've created a custom workflow using Visual Studio 08 that uses a custom content type and .aspx task edit form. The tasks are successfully created and assigned to the users. However, only users that are members of the Site Owners group are able to 'Edit' the task items. All others (even though they have contribute and approve perm...

What Tool or Script Can I Use to Find Which Directory Is Invalid When Receiving a "The directory name is invalid" error in IIS 7?

The Goal I would like only a certain group of users (who are in an Active Directory group composed of users from two domains) to be able to execute a web script, in http://www.site.org/protected, after being challenged for authentication. The Setup Windows 2008, IIS 7. User Account Access has been disabled, as it is a pain and someti...

commitimg to SVN protected repository

I used windows security to block to users the option of deleting files from the server on SVN clients. (right-click on the repository dir, and security options). now I want to commit a local directory back to the server, but I deleted one file from the dir. I get an error says I don't have permission to delete. is there any other way ...

Check for environment variable in another process?

In Windows, is there a way to check for the existence of an environment variable for another process? Just need to check existence, not necessarily get value. I need to do this from code. ...

When do you need to apply permissions to a synonym

I see from BOL that you can apply permissions to a T-SQL synonym, but in playing around with synonyms I'm not clear when you would need to do that if you have already GRANTed permissions to the base object. eg. If I have a synonym in database A that points to a table FRED in database B, then it appears that as long as user Joe is grante...

Determining User's role in a SharePoint site/workspace using the webservices API

How do I figure out the role(s) of a user in a site using the webservices API? All I have to go on is the username and domain. I've found that the PermissionsService.Permissions.GetPermissionCollection(url,"Web") will return a collection of permitted users and groups with their permissions masks but I still need to figure out if the us...

PHP - rmdir (permission denied)

Hello, I have an easy script to create and delete a folder, but when I try to delete a folder, it brings up and error. The code: <?php if ($_POST['hidden']) { $key = "../g_test/uploads"; $new_folder = $_POST['nazevS']; $new_dir_path = $key."/".$new_folder; $dir = mkdir($new_dir_path); if($dir) chmod ($new_dir_path, 0777); } if ($_...

How to create Window's Security Editor dialog in C#?

Is there a way to create Security Editor dialog using C#, similar to CreateSecurityPage() method available in aclui.dll? ...

How to associate permissions available for a user using a security descriptor?

How to associate permissions available for a user using a security descriptor? Given a user how to decide whether the user is having particular permission with the help of security descriptor? ...

Add permission levels to sharepoint list using Web Services

Hi, I need to add permission levels to a list like: Full Control, Contribute, Manage Hierarchy, view Only, etc. I see here: "programatically add user permission to a list in sharepoint", that this can be done using the Object Model. How would I do the same using Web Services? I tried using the permissions.asmx web services, it works for...

Apache 13 permission denied in user's home directory

Hi, My friend's website was working fine until he moved the document root from /var/www/xxx to /home/user/xxx Apache give 13 permission denied error messages when we try to access the site via a web browser. The site is configured as a virtual directory. All the Apache configurations were unchanged (except for the directory change). ...

Change SQL Server Analysis Services permissions set during install

While installing SQL Server 2008 (which included SSAS), I set these permissions, giving a domain group that held our SQL Service Account: . Now I need to change that group to a different one that includes a second service account, but I'm not able to conclusively find the permissions it set. There was overlap with our last domain group,...

xbap gracefully handle lack of permissions

I have an Xbap application that is part of an intranet application that needs file system access. Ive made the app full trust, signed it with a valid certificate and imported the cert into ie and the xbap works perfectly. My issue is that I want to gracefully handle a Permission Denied exception if the user doen't have the certificate ...

Informix, grant select on all tables

With Informix I can grant select on a table like; grant select on 'dba'.mytable to someuser as dba; How can I perform this on all tables in the database? ...

How to mimic effects of MaxScriptStatements (i.e. prevent "A script on this page is causing Internet Explorer to run slowly") without changing the registry?

We are using Bing and/or Google javascript map controls, sometimes with large numbers of dynamically alterable overlays. I have read http://support.microsoft.com/kb/175500/en-us and know how to set the MaxScriptStatments registry key. Problem is we do not want to programmatically set this or any other registry key on users' computers b...

Access Control Lists in Debian Lenny

So, for my clients to who have sites hosted on my server, I create user accounts, with standard home folders inside /home. I setup an SSH jail for all the collective users, because I really am against using a separate FTP server. Then, I installed ACL and added acl to my /etc/fstab — all good. I cd into /home and chmod 700 ./*. At th...

control downloading (.htaccess?)

I need to protect a .zip file from being downloaded w/o permission. I would like to be able to provide a direct link to the .zip download to those who have access to the files. <filesmatch .zip> order deny, allow deny from all </filesmatch> does not seem to work. It prevents direct links, but I am not sure how to provide the downlo...

How can I send user credentials for use on a remote machine using WCF?

I have two machines, we'll call them machine A and machine B. Machine B is running a Windows service written in C#.net, as the Local System account. Machine A tells machine B's service (using WCF) to open a file located on the network. Since local system is not a network user, it does not have access to network files, and is unable to op...

Is there a way to set a calling application execution permissions for a C# library?

I'm creating a DAL for use in multiple applications, but I'm not providing any authorization or authentication to verify that the calling application has the permissions to execute the DAL and access the data i.e. making sure the user only sees the information they are allowed to see, to me this is the responsibility of the business laye...