permissions

SVN permissions for a single file

Is it possible in SVN to set write permission for a single file, while all the rest of the repository is read only. ...

IE browser hangs when reopens a pop up window from the sidebar

Hi, I have a sidebar application, and the sidebar itself acts as a parent window. A child pop up IM window will open from this parent window by clicking a link. The problem is that, when we try to close the pop up IM window and reopen a pop up IM window, there is large time delay for opening the pop up IM window again ( IN ie6 the page c...

Add permission in folder via SharePoint Web Services

Is it possible to add or update permission in folder or sub-folder in WSS 3.0 with Web Services? Now, I created the folder inside list(document library) and the permission inherit from parent but I need to add new permission in folder inside list. The /_vti_bin/permissions.asmx not allow to add permission in folder level. How should I...

Why is there a warning of permission denied but successfully opened the file anyway?

I tried to open a file with fopen() function in PHP and it output warning of failure to open stream: permission denied. You know that warning / error you encounter when apache doesn't have enough privileges to open a particular file. However despite the warning message being displayed, my PHP script successfully opened the file and wrot...

Why 'People' columns are not available for Read-Only users in SharePoint Datasheet view?

I can see columns that list people names in SharePoint's datasheet view, but read-only users cannot. Is there a way for read-only users to see columns of this type? The type of information in this column is: Person or Group, no mandatory information, allow multiple selections, People only, choose from All users, show field - name with p...

SQL Server 2005 - Deny View of "Security", "Server Objects", "Replication" and "Management"?

I can deny a specific user DB viewing by doing something like this: DENY VIEW ANY DATABASE TO Myuser But, is there a way to also deny the "Security", "Server Objects", "Replication" and "Management" from being viewed by a remote user when logging in through SSMS? Thanks. ...

php - How can i manage users permission?

How can i manage user permission? i need a fast method to manage users (accsess to a page or dont accsee to a page) when they login? Please help me ... ...

NLog in ASP.NET - what permissions should the log file have (archiving problem)

Hi - For an ASP.Net environment what permissions should the logging file created by NLog have ? The ASP.Net virtual directory is using an application pool which has an 'Application Pool Identity' of 'Network Service'. When I grant 'Network Service' change rights to the NLog output file all is well until the archiving condition causes th...

After upgrading Fedora, why can I no longer change permissions of a file mounted via SMB

I had been running Fedora 9 for the last year --- I have a Windows box (actually a VM) that mounts a folder on the Fedora box using my own name/password. I do this so that I can run my version control program (Vault) on Windows. It has worked flawlessly for the last 6 months. Yesterday, I upgraded Fedora from version 9 to version 11. Si...

cakephp acl aros_acos paradox

Hello, I'm trying to implement an authentication/authorization combo into my cakePHP site using Auth and Acl Components, but something odd is happening with my implementation. I've got the right acos, aros and aros_acos tables, and they seem to work at some level. I have mapped my actions like this: $this->Auth->mapActions(array('rea...

C# Copy file to folder with permissions

Hello, I'm writing a program that, among other things, needs to copy a particular file to a network folder. Since I'm on a company network, the credentials needed to access that folder are the same as my Windows credentials. The program works if I open the folder in Explorer, provide my username and password, and then run the uploader....

vb.net get folder security information

I'm looking for a straightforward means of pulling all the users who have access to a folder with vb.net. Does anyone have any code they are willing to share. All I need is the user name, not the type of access they have. Any assistance is greatly appreciated. Thanks. ...

How can you limit access to a Google App Engine model's instance to the current user?

I found an answer to this yesterday (and had some trouble finding the link again today). The link I saw resolved the problem of how to limit access to a Google App Engine's model instance by overloading db.UserProperty, like-so: class CurrentUserProperty(db.UserProperty): def checkCurrentUser(self, value): if value != users.get_c...

RESTful Authorization

I'm building a community-based site in Rails for the members of a real-world organization. I'm trying to adhere to the best practices of RESTful design, and most of it is more or less by-the-book. The issue that's making my brain run in neat RESTful circles is that of authorization. Authentication is an easy, long-solved problem with wid...

How to restrict ASP.NET permissions per page or per directory (code access security per page or per directory)

This is the scenario: -Hosted web application. -Application trust level is full trust, because of external components. -Customer should be able to customize some web pages. I thought about using an html template that they can modify. But it is not flexible enough. For example if there is logic things get messy and difficult: if u...

C# Test if user has write access to a folder

I need to test if a user can write to a folder before actaully attempting to do so. I've implemented the following method (in C# 2.0) that attempts to retrieve the security permissions for the folder using Directory.GetAccessControl() method. private bool hasWriteAccessToFolder(string folderPath) { try { // Attempt to ...

.Net Registry Security Permissions - User with Permissions cannot access Registry

Hi Guys, For my .net application i have a mechanism that creates a special user on the local machine. I then create the Registry / Directory entries and assign this newly created user full access to the appropriate Sub Keys / Folders. For my test i use Impersonation to setup the enviroment to run under this new user, and then run some ...

is chmod o=- -R / a feasible solution to user restricting?

we do: useradd -s /bin/rbash -d /home/dir/user1 -m user_1:user_1 rbash is not even a solution because you can browse all files with midnight commander. then we create user_1.domain.com we assign this vhost user_1:user_1 our whole point is to disable this user poking into server's other directories. How do we do it? is chmod o=- -R...

C# - Windows ACL - Applying Inherited Permissions

Hi Guys, I've been having problems programatically assigning permissions to Folders / Registry entries. I have managed to assign inheriting permissions using the following code: FileSystemAccessRule rule = new FileSystemAccessRule(LOGON_USER_NAME, FileSystemRights.FullControl, InheritanceFlags.ContainerInherit | InheritanceFlags.Object...

Save File to Desktop in Vista/Windows 7 in .NET 2.0

Hi, I'm working on updating one of our applications. It must use .NET 2.0. One portion creates a file on the Desktop using FileStream fs = new FileStream(Environment.GetFolderPath (Environment.SpecialFolder.DesktopDirectory), FileMode.Create); But I get an UnauthorizedAccessException in Windows 7 (and Vista too, I'm assuming, ...