Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

NTFS Permissions

Posted on 2006-06-12
8
Medium Priority
?
598 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 51

Accepted Solution

by:
Netman66 earned 2000 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
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
 
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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

670 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