Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

share permissions vs. folder permissions

Status
Not open for further replies.

mlowe9

Programmer
Apr 3, 2002
221
US
I had a question about sharing folders on Windows. When setting up a shared folder, I normally set the share permissions to everyone and the folder permissions to the permissions I want on the folder (and the share).

My question: What is the purpose of setting share permissions when the folder permissions accomplish what I want? Why would I do it differently than I do?

Thanks
Matt
 
Share permission & security permission are used when you access remotely. Security permission is used when you access locally/login interactively
 
But why would I want someone to have access to a folder locally and not remotely?
 
If you want to make all files under a share read only then using Read only on the share would mean that no matter what NTFS permisions are set remote users still only have read only.
Also setting share permissions to change will prevent remote users from altering NTFS permissions which can be very handy, especially if you have user folders where the user has full permissions and they keep removing the administrator from the ACL.
 
Thank you both for responding.

So the share permissions are for giving/removing permissions to the folder, not file permsissions?
 
No share permissions on an MS network were originally for protecting FAT partitions and still are in a way if you are still using FAT. Since Windows NT/2000/XP which use the NTFS file system (which has local file security) this is not as important.
Essentially NTFS (file) security is used to secure files both locally (to people sat at the PC or server) and remotely.
Share permissions are specifically for assigning permissions to remote users but are not essential if you are using NTFS.
It is good practice to use the 'Change' share permission as it prevents remote users messing with NTFS permissions, but NTFS (file) permissions are far more versatile.

Hope that helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top