How to display only the folder belong to a respective group, and hide the non related folders

On a Windows 2003 domain.

Suppose I create a folder called  folder1   (ie :  D:\folder1 )

Under this shared folder of D:\folder1  , there are 4 folders :-


I want to create a map drive for these departments (Sales, Engineers, HR and Planners),
such that when they mapped to folder, they can only see own folder .

That is if Sales user mapped to  \\servername  , only the Sales folder can seen by Sales users.

Engineers can see only their own .  and those folder not related to them, are all hidden .

Thank you
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Steve AgnewSr. Systems EngineerCommented:
I don't think it works that way.. other than the $ extension that hides it altogether.. their is a (L)LIST property and you could try to setup denies, but I wouldn't recommend that you'll probably only end up generating errors for everyone that tries to browse.. I just tested this out.. it still showed the folder..

Generally if you can open a folder, you'll be able to see it's contents (with windows), you just won't be able to open one you don't have access to.  If you don't want people seeing what they shouldn't I would just create hidden shares (name$ with a '$' at the end of the share name) and then they have to manually type in the name to map to it.. if you want people to be able to browse, I'm pretty sure you're going to have to let them see the folder name and if they don't have access to it and try to open it- they just get Access Denied.
unless ou make different shares for each group, you are stuck with this.

It is more visually organized for you but not necessarily better, just different.

Good Luck,

Fatal_ExceptionSystems EngineerCommented:
This is one problem that MS is addressing in their new server releases.. but with 2003, you cannot hide shares from users (except for the already noted $ hidden share)...  Novell has this ability, but Windows does not...  YET!
HTML5 and CSS3 Fundamentals

Build a website from the ground up by first learning the fundamentals of HTML5 and CSS3, the two popular programming languages used to present content online. HTML deals with fonts, colors, graphics, and hyperlinks, while CSS describes how HTML elements are to be displayed.

so, just create a set of mapped drive letter using the full path (beyond the share)

Let's assume Folder1 is shared as "Departments"...

for the sales group, you'd create a mapped drive like this:

         net use q: \\ServerName\Departments\Sales
for Engineers, it'd be:
         net use q: \\ServerName\Departments\Engineers

Yes, you can create a mapped drive "deeper" than just the top level share.

From drive Q:, the sales folks would not be able to see or navigate to the other folders
Personally, I would combine the advice from graye, but instead of Sharing the departments folder, share the subfolders for the depts as hidden shares ( as deadnight suggested). That way when you map

net use q: \\servername\departments\sales$
net use q: \\servername\departments\engineers$

When anyone goes to \\servername\departments they shouldnt see the hidden shares....only what was provided them via mapping...

Here is some help on hidden shares..
Steve AgnewSr. Systems EngineerCommented:
I really don't like hidden shares as it generally increases the amount of support required by your end users as they will insist that it 'isn't working' I think it best if they are going to be mapping shares that they can see and they just can't access the ones they shouldn't.  It isn't perfect and generally you simply need to weigh the ability of your end users, if their technical skill is low, better to have things they can 'see' if it's high then go ahead and hide the shares to keep the 'busy body' users from harassing you with 'why can't I....'

Ultimately with the current hidden share $ or just folders with permissions it who your end users are and your relationship with them that should let you know which direction to go.. until MS comes out with something new.. (but I try to avoid the bleeding edge of technology)  I still like to use Server 2000 whenever possible as it generally has less compatilibity issues than all the newer versions.. the only thing I've found overly useful with Server 2003 is shadow copy and thus only use server 2003 for file servers currently.

I'm behind a firewall and am not concerned about my users hacking my servers, I'd rather my servers be reliable than secure due to my enviornment and my users.. your situation could be different..

But that's my Sep.11 monday morning 'the way I see it' rant.. you guys have a great day - and thanks for listening.  Peace

I believe this is what you are looking for to hide unaccessible folders within a single share.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Networking

From novice to tech pro — start learning today.