I have this folder three in Windows Server 2012:
Projects
|-> A
|-> B
|-> C
...
|-> X
|-> Y
|-> Z
I want to share the folder Projects
with Programmers
group, but not all folders, only specific ones.
After share the Projects
folder i am trying to select all folders that are inside it and use Share with -> Stop share
, but all users of the group Programmers
still can use the folders.
I am starting to use this SO now, so it probably is a noobie question, but i will be glad if someone can help me.
You can not do it exactly the way you are asking. You need to share the folder and everything underneath, then set security permissions on the subfolders to deny where appropriate.
You're not sharing the sub-folders. You're sharing the Projects folder. The sub-folders are accessible via the "parent" share.
Make sure you have the correct NTFS permissions set on the sub-folders so that the Programmers group only has access to the sub-folders that you want them to access.
Use Access Based Enumeration on the parent share. This will make it so that the Programmers only see the sub-folders that they have access to. They won't see any sub-folders that they don't have access to.