PDA

View Full Version : How to set permissions such that only adminsitrators should access the files.



sp_prabha
03-31-2006, 04:40 AM
Hi,
I need to set file permissions to just a few files in such a way that only administrators can access them and no user from any other group should be able to access.

I would like to implement a condition like " if (!administrator) then do not allow access". How do I do this in the "LockPermissions" table?

Is it possible by any other means?

Thanks in anticipation,
Prabha.

Aflaat
03-31-2006, 09:40 AM
From the components view, right click on the file you want to give permissions to, and go to properties. Then click the permissions button, and add the administrators group. It will populate the lockpermissions table.

Also note that no matter what the documentation says, all other permissions on the file get wiped, so if you only add the administrators group, that will be the only group with access to the file. In your case this is a good thing.

sp_prabha
04-01-2006, 08:15 AM
Hi,
Thanks a lot. This is the behavior I was looking for.
Regards,
prabha.