Solved

NTFS Permissions

Posted on 2006-06-12
8
591 Views
Last Modified: 2008-01-09
I'm trying to achieve the following but having some difficulty getting it right. Given a folder structure as such:

HOME >
   FOLDER1 >
      file1a.a
      file1b.a
         FOLDERa >
            fileaa.1
            fileab.1
   FOLDER2 >
      file2a.a
      file2b.a
   FOLDER3 >
      file3a.a
      file3b.a
file4a.a
file4b.a

For one particular group:
1. Deny the ability to add files to the HOME folder (only the HOME folder, subfolders okay)
2. Deny the ability to rename, move or delete any of the folders in HOME (create folders is okay, and modifying subfolders is okay)
3. Full control of any file NOT directly in the HOME folder (like file3a.a, but NOT file4a.a)

Anyone want to take a try at this?
0
Comment
Question by:DVation191
  • 5
  • 3
8 Comments
 
LVL 51

Accepted Solution

by:
Netman66 earned 500 total points
ID: 16890085
Hi DV,

Okay, this shouldn't be too bad.

Assign permissions as normal - so that your groups have what they need.  Make sure inheritance is being used so parent permissions flow down through the tree.

Now....

1)  In the Advanced settings of Security on HOME - add the group you want to deny adding files (it may already be there, but add it a second time).  In the permssions applet, make sure in the dropdown there shows only "This folder only" then check the box under Deny for Create Files / Write Data.  That should take care of that one.

2) Same as above - add the group once more (so you may have them 3 times) in Advanced.  Change the scope in the dropdown to This Folder and subfolders.  Deny Delete.

3)  This will depend on you giving them Full Control of files right from the parent first.  Add the group again in Advanced - change the scope to Files.  Give them Full Control.  Make sure the checkbox for "Apply these permissions .... " is checked.  This will give them Full Control all the way down.

3a)  Now, you need to determine what you want to prevent them from doing with the files in HOME.

Let me know.
0
 
LVL 20

Author Comment

by:DVation191
ID: 16895470
Ok we are well on our way here. A few problems with this setup...

1) DENY is in effect for the ability to create or rename folders in the HOME folder, but I was able to delete them. DENY delete needs to be in effect...and ONLY for the HOME folder, no subfolders and files in subfolders of HOME should be ALLOW Full Control for all users.

2) DENY is in effect for the ability to create, delete or modify folders and files that are in subfolders of HOME. It's only the first level of HOME that I want the restrictions on,..the rest of the subfolders and files should be Full Control.

3) The files that appear in HOME (not those that are in subfolder, just files that are in HOME itself) are DENY change and DENY create...but I am able to delete files. I want to DENY the ability to delete the files directly in HOME as well.

I'll see if I can solve some of these problems myself...but its a good start. I'll wait to here back from you.
0
 
LVL 20

Author Comment

by:DVation191
ID: 16895560
I also had to add the "Traverse Folder/Execute File" and "List Folder/Read Data" ALLOW permission for the group so they could browse the folder and run files.
0
 
LVL 20

Author Comment

by:DVation191
ID: 16895810
This could get confusing quick, so let me type out the permissions for this folder so far..maybe I didn't follow your instructions right:

Permission Entries for HOME
DENY      MyGroup <This Folder and Subfolders> DENY 'Delete'
DENY      MyGroup <This Folder Only> DENY 'Create Files/Write Data'
ALLOW   MyGroup <This Folder, Subfolders and Files> ALLOW 'Traverse Folder/Execute File' & ALLOW 'List Folder/ Read Data'
ALLOW   MyGroup <Files Only> ALLOW 'Full Control'
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
LVL 51

Expert Comment

by:Netman66
ID: 16895984
That looks right.

What's missing?
0
 
LVL 20

Author Comment

by:DVation191
ID: 16896061
"What's missing?"
...all the things I pointed on in my first comment :(

Anyway, I've made some modifications since then and I think I'm just about there. This is what I have now:

Permission Entries for HOME
DENY      MyGroup <This Folder and Subfolders> DENY 'Delete'
DENY      MyGroup <This Folder Only> DENY 'Create Files/Write Data', DENY 'Delete Subfolders and Files', DENY 'delete' + "Apply these permissions [...] within this container only"
ALLOW   MyGroup <This Folder, Subfolders and Files> ALLOW *all permissions* except 'Full Control', 'Change Permissions' and 'Take Ownership' .... I decided I didn't want them to be able to change these things
ALLOW   MyGroup <This Folder and Files> ALLOW 'Create Folders/Append Data' + "Apply these permissions [...] within this container only"

So far this seems to work, though I'm still testing :)
0
 
LVL 51

Expert Comment

by:Netman66
ID: 16896199
OK, I would have assumed you gave your group the overall permissions at the parent so the are inherited then simply used the restrictions discussed to tighten things up.

As long as the parent propogates the correct "Allows" to the child folders then you should simply be able to restrict this group further down as you are working on.

0
 
LVL 20

Author Comment

by:DVation191
ID: 16901830
Got it working. Thanks Netman! Huge help!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have never ceased to be amazed how many problems you can encounter on a fresh install of a Windows operating system.  This is certainly case in point& Unable to complete ANY MSI installation.  This means Windows Updates are failing and I can't …
Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now