Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: allow access only to certain folders within a share based on user

10 Aug 2012   #1

Win7 x64
allow access only to certain folders within a share based on user

This seems like a basic concept, but I can't quite figure out how to make it happen.

In a domain environment with Windows 7 systems, I want to create a shared folder that all domain users have access to. However, when any domain user accesses the share, they should only be able to access certain subfolders.

For example, assume the shared folder is \\server\shareme, and it contains subfolders \aaa, \bbb, \ccc, and \ddd. Further assume that there are three domain users: user1, user2, and user3. How can I allow user1 to browse \shareme, but not open any of the subfolders; allow user2 to browse \shareme and also open any of the subfolders; allow user3 to browse \shareme but only open subfolder \aaa?

Any help much appreciated.

My System SpecsSystem Spec

11 Aug 2012   #2

Windows 7 64-Bit Ultimate

Do you know how to write scripts at all>?

If not, than you have to right click on the folder and apply permissions to each specified user on the machine or network. It would be easier if you had a spare computer lying around that would act as a server, but its not a necessity. The only downside is that all users on the network need to have had to at least viewed the shared folder at least once.
My System SpecsSystem Spec
11 Aug 2012   #3

Win7 x64

Thanks for the reply, aidage. That is my question. What permissions do I need to apply?

If I share \\server\shareme, it looks like I have to give at least read permissions to DomainUsers in order to allow them to see the share. But in this case, they have access to all subfolders and that isn't what I want.
My System SpecsSystem Spec

11 Aug 2012   #4

Windows 7 64-Bit Ultimate

So if you want them to see the folder but not access it, it can be a little difficult without Windows Server installed. So Let me ask a few questions.

How many users?

How many folders?

Does each user have a folder than can access and no one else cant?
My System SpecsSystem Spec
12 Aug 2012   #5

Win7 x64

Currently about 5 users and 10 subfolders under the shared folder. But both # of users and # of subfolders will grow over time.

And, no, it's not as simple as each user only needs access to their own personal subfolder within the shared folder. I need the ability to selectively grant access to any permutation of user/subfolder(s).

Windows Server 2008 R2 is running on the Domain Controller. Clients are Windows 7.
My System SpecsSystem Spec
13 Aug 2012   #6

Windows 7 64-Bit Ultimate

Ill give you a thorough walk threw in a process that works for me tomorrow. Its probably not the simplest way, but its the easiest with dealing a small amount of users. Just for a further reference, are there any 2 or more users to one group. What I mean by this are there two or more users that will have access to almost the same folders?

Will you have access to the machines in question to work on them?
My System SpecsSystem Spec
14 Aug 2012   #7

Windows 7 Ult, Windows 8.1 Pro,

Maybe this link will help.

Down at the bottom of the page it talks about using the Add button to allow for permissions for a certain user or group. Unchecking the inherit permissions button will prevent them from viewing subfolders.

Configuring Windows Server 2008 File Sharing - Techotopia
My System SpecsSystem Spec

 allow access only to certain folders within a share based on user

Thread Tools

Similar help and support threads for2: allow access only to certain folders within a share based on user
Thread Forum
User Folders - Moving User Folders by Modular Script Tutorials
Solved Can't remote desktop/ping XP PC, but can access its share folders Network & Sharing
Access denied (5) when trying to backup "User-folders" using Syncback Backup and Restore
User folders located on network share. Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 11:23 AM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33