Windza Posted February 12, 2009 Report Share Posted February 12, 2009 Hi all...Just wondering if it's possible to set windows permissions to allow editing and saving of a file but not the filename... I am linking .xls files within a database and need to allow access for end users to update the content but not be able to change the filename (else the link is lost). This is probably a true noob question but trust me - I've tried various options and I couldn't find anything specific via google...Your help would be appreciated...Cheers Quote Link to comment Share on other sites More sharing options...
ɹəuəllıʍ ʇɐb Posted February 12, 2009 Report Share Posted February 12, 2009 Welcome to the Windows Forum.I don't think that what you want to achieve is possible with Windows / NTFS security settings.What I would do if I were in your situation is to use a document management system, where the files belong to that system, and no user can directly modify any of the files in any way. The users must "check out" the files they want to modify, and will receive a copy of the original, which they can freely modify (and no other user can obtain the same file while it is checked-out by another user).When the modifications are complete, the user checks the file back in, and the system replaces the original with the new copy. It should also keep a record of the differences, so that modifications can be backed out, if this is required. Quote Link to comment Share on other sites More sharing options...
Windza Posted February 15, 2009 Author Report Share Posted February 15, 2009 Welcome to the Windows Forum.I don't think that what you want to achieve is possible with Windows / NTFS security settings.What I would do if I were in your situation is to use a document management system, where the files belong to that system, and no user can directly modify any of the files in any way. The users must "check out" the files they want to modify, and will receive a copy of the original, which they can freely modify (and no other user can obtain the same file while it is checked-out by another user).When the modifications are complete, the user checks the file back in, and the system replaces the original with the new copy. It should also keep a record of the differences, so that modifications can be backed out, if this is required. Thanks for the feedback... I hadn't considered a document system as you suggest but will have a quick look at what's available and how user-friendly it'll be (paramount in my application). At this stage though I think I'll just opt for solid training of our users and allow them write access. Cheers Quote Link to comment Share on other sites More sharing options...
Windza Posted February 16, 2009 Author Report Share Posted February 16, 2009 Well strangely enough, I was playing around with the permissions again and found that if I specified 'Modify' permissions in the simple settings and then altered this more specifically within the advanced settings to Deny 'Delete' and 'Delete subfolders and files' permissions it gave me the functionality I was after. The behaviour is a little odd (and I'm not sure what the consequences are) but basically it has enabled access as follows: - cannot rename files or folders - cannot delete files or folders - can create files and specify filename (only on initial creation); haven't verified folder creation - can read/access file content and save changesThe odd thing is when saving changes to a file (I've been using .xls's to test), the original is saved with the changes, but a new file (appears to be a temp type file) appears with a cryptic name and no extension. These can be deleted without consequence (i.e. the original still retains the changes). I figure this is an Office related issue but it's not really going to bother me if it means I gain functionality like I was chasing...I'd be interested if anyone can explain what is actually happening though...Cheers Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.