Windows – How to unshare folders that are inside of a shared folder

windowswindows-server-2008-r2windows-server-2012

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.

Best Answer

  1. You're not sharing the sub-folders. You're sharing the Projects folder. The sub-folders are accessible via the "parent" share.

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

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

Related Topic