Solved

Restricting root permissions

Posted on 2014-03-04
9
216 Views
Last Modified: 2014-03-27
Dear Experts,

We would like to restrict the permissions on the root level folder of our shared drive so that users cannot save files directly to the root anymore. At the moment we have:

Domain Admins - Full Control - This folder, subfolders and files
Domain Users - Read, write & execute - This folder, subfolders and files
SERVER\Users - Read & Execute - This folder, subfolders and files
CREATOR OWNER - Special
SYSTEM - Full control

How do I accomplish this without affecting the folders below some of which do not inherit permissions?
0
Comment
Question by:Bladey001
  • 3
  • 2
  • 2
  • +1
9 Comments
 
LVL 13

Expert Comment

by:Santosh Gupta
Comment Utility
Go to advance security permissions and change it...
Make sure do not inherit or replace permission is selected.
perm
0
 
LVL 27

Expert Comment

by:serialband
Comment Utility
DON'T do that.  You'll deny Administrators too and EVERYONE including the system account.  Your pagefile will error out and your hibernate file and all your other hidden system files will start generating errors.

It's actually best not to use deny unless you're sure that's exactly what you want.  It's better to remove permissions.  Remove Domain Users from the permission list instead.  Be sure that Domain Users still exist in the subfolders that need it.  Make sure you don't propagate the removal to the subdirectories.
0
 
LVL 34

Assisted Solution

by:Seth Simmons
Seth Simmons earned 133 total points
Comment Utility
Remove Domain Users from the permission list instead.

if you remove domain users from the ACL, they will get access denied when just trying to reach the root of the drive unless they are a domain admin

if you change the domain users permissions by only selecting these items for 'this folder only ' then it should work; they can see everything but can't write to the top-level folder

traverse folder / execute file
list folder / read data
read attributes
read extended attributes
read permissions
0
 
LVL 13

Expert Comment

by:Santosh Gupta
Comment Utility
@serialband, My intention is to show, how to deny to create the files on DATA/root folder as per author request  not SYSTEM DRIVE.  (now i realized that you are referring my screenshot)
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 

Author Comment

by:Bladey001
Comment Utility
Is it best practice to remove the SERVER\Users account and just use 'Domain Users'?

The users will need to be able to create folders just not be able to write files to the root.

So if I use the permissions suggested by Seth but also add Create Folders this should accomplish what I need right?
0
 
LVL 13

Accepted Solution

by:
Santosh Gupta earned 134 total points
Comment Utility
try this...

to use those you dont want to give the file creation rights.
permi
0
 
LVL 27

Assisted Solution

by:serialband
serialband earned 133 total points
Comment Utility
Seth Simmons is right.  I just saw the deny everyone screenshot and responded quickly, because I saw a disaster about to happen.  No matter what the situation, you don't deny unless you have a very good reason or have exhausted other options.  It's still far better to uncheck the permissions rather than deny them.  You're more likely to run into problems later on if you deny permissions without some planning.  There's already an implicit deny when you're not in the permissions list.

You might also want to uncheck the 5 checkboxes directly below the highlighted section in the image that sgupta1181 provided if you also don't want them to modify the permissions and edit the files.
Create olders/append data
Write attributes
Write extended attributes
Delete subfolders and files
Delete
0
 

Author Comment

by:Bladey001
Comment Utility
So essentially I've removed Create files / write data from Domain Users (This folder only) and had to add another entry for domain users (subfolders and files only) to give them read, write & execute
0
 
LVL 34

Expert Comment

by:Seth Simmons
Comment Utility
does that mean the issue is resolved or do you still need assistance?
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

I had a question today where the user wanted to know how to delete an SSL Certificate, so I thought that I would quickly add this How to! Article for your reference. WHY WOULD YOU WANT TO DELETE A CERTIFICATE? 1. If an incorrect certificate was …
Redirected folders in a windows domain can be quite useful for a number of reasons, one of them being that with redirected application data, you can give users more seamless experience when logging into different workstations.  For example, if a use…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

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

11 Experts available now in Live!

Get 1:1 Help Now