Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a Windows 2008 R2 server running Active Directory and sharing folders over the network.

Every user can list all shares, even if the don't have the right to access them.

This is not a security issue, but when the number of shared folders increases, this can become quite messy.

Is there a simple way to list only folders with access granted ?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

You can't set the visibility of shares on a per-user or per-group basis. You can hide shares entirely by having their names end with a $, but that will affect all users. And you can enable access-based enumeration on the share. That won't hide the share itself, but will hide any content that the user isn't allowed to access. You enable it in "Share and Storage Managment" in the the advanced SMB settings.

share|improve this answer
    
Thank you very much, this is perfect. –  mimipc Feb 25 '13 at 12:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.