NTFS & Share Permissions Explained....

AID: 3415
  • Status: Published

1890 points

  • Byseaninman
  • TypeBest Practices
  • Posted on2010-07-15 at 06:34:52
In general when you share a folder it has share permissions. For the most part, if your drives are formatted as NTFS then give the Authenticated Users Group ‘Full Control’ at the share level (you will need to change the default permission on the Sharing Tab as the Default is ‘Everyone’ Read). This may seem odd and insecure but it is not as NTFS itself allows you much greater control of permissions. In most cases it is OK to allow full control at the share level and then lock down permissions with NTFS.

If you right click on a folder and go to the Security Tab, it will show you the NTFS Permissions. Normally you will want a shared folder not to inherit permissions from its parent folder or drive, so go to the Advanced Tab and clear the ‘Inherit from parent’ box and COPY the permissions when prompted. You can then edit/add/remove groups from the security tab and assign each the required permissions. So if you want a specific Security Group to have full access to a folder, add that group and Assign them Full Control. If you want a different Security Group to be able to read the folder and files but not add/delete/change anything, add that specific group and leave the default permissions, (read, read and execute list folder contents). To stop others from accessing the folder remove the (everyone) group and (domain users) Group from the list.

You do not normally need to DENY. If a user is a member of two or more groups they get the best of their cumulative NTFS Permissions (unless deny is present in a permissions list, in which case it overrides). If users have both share and NTFS permissions they get the most restrictive of the combination of NTFS/Share permissions (which is why it is normal to allow Authenticated Users Full Control on the share and rely on NTFS permissions).

It is best practice to give permissions to groups, and not to users as this makes for easier management. If a new person joins the sales team, you just add them to the sales group and they automatically get all the permissions assigned to the Sales Group. If someone moves from Marketing to sales you remove them from the Marketing group and they lose all the Marketing Group permissions, when you then add them to sales they get all the permissions of the sales group. As already stated a user can be a member of multiple groups.

Analogy
Your computer is a house. Your data is in a safe in the house. To gain access to the data, people from the outside have to go through the front door (the share), and then open the safe (NTFS). They need to have both the key to the door (share permissions) and the key to the safe (NTFS permissions) to get at the data – having one key or the other is no good – they must have both.

This article is from my personal blog - The Security Pub
Asked On
2010-07-15 at 06:34:52ID3415
Tags

NTFS

,

Shares

,

File Permissions

Topic

Miscellaneous Security

Views
1323

Comments

Add your Comment

Please Sign up or Log in to comment on this article.

Join Experts Exchange Today

Gain Access to all our Tech Resources

Get personalized answers

Ask unlimited questions

Access Proven Solutions

Search 3.2 million solutions

Read In-Depth How-To Guides

1000+ articles, demos, & tips

Watch Step by Step Tutorials

Learn direct from top tech pros

And Much More!

Your complete tech resource

See Plans and Pricing

30-day free trial. Register in 60 seconds.

Loading Advertisement...

Top Misc Security Experts

  1. breadtan

    145,843

    Master

    3,100 points yesterday

    Profile
    Rank: Genius
  2. Russell_Venable

    38,663

    0 points yesterday

    Profile
    Rank: Wizard
  3. ahoffmann

    27,636

    0 points yesterday

    Profile
    Rank: Genius
  4. richrumble

    25,321

    0 points yesterday

    Profile
    Rank: Genius
  5. DaveHowe

    17,129

    2,000 points yesterday

    Profile
    Rank: Genius
  6. SSharma

    16,184

    0 points yesterday

    Profile
    Rank: Genius
  7. younghv

    12,906

    0 points yesterday

    Profile
    Rank: Genius
  8. DaveBaldwin

    12,728

    0 points yesterday

    Profile
    Rank: Genius
  9. Tolomir

    12,268

    0 points yesterday

    Profile
    Rank: Genius
  10. ve3ofa

    11,032

    0 points yesterday

    Profile
    Rank: Genius
  11. dvt_localboy

    10,600

    0 points yesterday

    Profile
    Rank: Sage
  12. pand0ra_usa

    10,600

    0 points yesterday

    Profile
    Rank: Guru
  13. rpggamergirl

    10,364

    0 points yesterday

    Profile
    Rank: Genius
  14. abbright

    10,292

    0 points yesterday

    Profile
    Rank: Guru
  15. kode99

    9,900

    0 points yesterday

    Profile
    Rank: Genius
  16. erniebeek

    9,250

    0 points yesterday

    Profile
    Rank: Genius
  17. slemmesmi

    8,200

    0 points yesterday

    Profile
    Rank: Guru
  18. motnahp00

    8,102

    0 points yesterday

    Profile
    Rank: Sage
  19. CoccoBill

    7,364

    0 points yesterday

    Profile
    Rank: Sage
  20. giltjr

    7,187

    900 points yesterday

    Profile
    Rank: Genius
  21. tedbilly

    7,000

    0 points yesterday

    Profile
    Rank: Genius
  22. arnold

    6,800

    0 points yesterday

    Profile
    Rank: Genius
  23. MASQUERAID

    6,800

    0 points yesterday

    Profile
    Rank: Genius
  24. ZShaver

    6,800

    0 points yesterday

    Profile
    Rank: Master
  25. madunix

    6,624

    0 points yesterday

    Profile
    Rank: Sage

Hall Of Fame