Solved

NTFS Permissions

Posted on 2006-06-12
8
590 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 51

Expert Comment

by:Netman66
Comment Utility
That looks right.

What's missing?
0
 
LVL 20

Author Comment

by:DVation191
Comment Utility
"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
Comment Utility
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
Comment Utility
Got it working. Thanks Netman! Huge help!
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

763 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

12 Experts available now in Live!

Get 1:1 Help Now