?
Solved

How to restrict access to folders below a folder shared with "Everyone"?

Posted on 2016-08-26
7
Medium Priority
?
73 Views
Last Modified: 2016-08-26
Hi,

We have a folder called "Shared" on our SBS server which is shared at the top level with "Everyone".

We've been asked to create some remote users on the system and to only grant them access to a couple of folders within the Shared folder.  I may be missing the obvious and over complicating things but I can't think of an easy way to just grant access to certain folders below that shared folder without removing the "everyone" permission from the top level which I'm reluctant to do as it will open a can of worms.

Any advice gladly received!

Thanks

Adam
0
Comment
Question by:Adam Lydiate
[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
  • 3
  • 3
7 Comments
 
LVL 16

Expert Comment

by:FOX
ID: 41771805
Right-click the shared file/ folder>Security>click the advanced tab>click change permissions>uncheck
Include inheritable permissions from this object's parent>click ADD
You can now highlight and remove EVERYONE from this folder and add who you need to access it.
0
 

Author Comment

by:Adam Lydiate
ID: 41771900
Hi Foxluv,

Thanks for that, problem is that they have 55 users and I'll have to add them all in manually if I don't use the everyone group.  The top level folder has say 50 subfolders and I want everyone except 1 person to have access to all 50 folders, the 1 person will only have access to 1 folder of the 50 but everyone else will also need access to that 1 folder.  If I remove Everyone from the top level surely I'll have to manually put each user except that one I want to restrict back in won't I?

Thanks
0
 
LVL 16

Expert Comment

by:FOX
ID: 41771908
Even easier.  Add the user with the same method as above(leave Include inheritable permissions from this object's parent checked) and click deny.  He will be denied access to the folder.
deny.JPG
0
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 

Author Comment

by:Adam Lydiate
ID: 41771916
Hi,

Surely that will deny access to the 1 folder I want that user to have access to.  I effectively want to deny access for 1 user to all except 1 folder under the Shared folder. If I remove inherited permissions on that 1 folder and add the user I want to give access to then everyone else will not be able to see the folder but they need to see it too.  You can see why I was confused enough to ask the question! :-)
0
 
LVL 16

Assisted Solution

by:FOX
FOX earned 1000 total points
ID: 41771962
Go to the last comment in this link. Remove his rights to the folder and sub folders, then if anything add him manually to the one folder you want him to have access to.

https://social.technet.microsoft.com/Forums/windowsserver/en-US/a7c4a7a7-6c53-4ec6-b92d-035dbff13d8e/powershell-scrip-to-remove-security-permission-from-filesfolders?forum=winserverpowershell
0
 
LVL 82

Accepted Solution

by:
David Johnson, CD, MVP earned 1000 total points
ID: 41771989
create a 2 new security groups: name one 'restricted users', name the other 'unrestricted users'
add the new user into restricted users group and the remainder into the unrestricted users group
share permissions can still be everyone with read/write
d:\topfolder shared as 'shared' ntfs permissions 'unrestricted users' (read/write/modify/delete/full control )  remove everyone group .. reapply permissions allowing it to propogate down.
create a new share d:\topfolder\restricted as 'restricted' give permissions to 'unrestricted users' and 'restricted users'
1
 

Author Closing Comment

by:Adam Lydiate
ID: 41772016
Thanks Foxluv and David, have split the points between you as I'm sure Foxluv's suggestion will work but I'm too chicken to run a script on this server and David's suggestion sounds like a good way around.  Thanks both
0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
A hard and fast method for reducing Active Directory Administrators members.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
Suggested Courses

762 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