Hiding a file in DFS

Posted on 2004-10-15
Medium Priority
Last Modified: 2012-06-27
I know you can "Hide" a shared folder in DFS via "Hidden folder" option in folder properties, but want I'm wanting to do is via Windows software, or an add-on, have a folder not even show up if you do not have rights to read the folder (Not unlike Novell). Anyone know of a way to do this natively, or via add-on, patch, 3rd party software, etc. It has to be an enterprise solution, as it would be applied to a 3000 user network, running 2K3 AD. It needs to work even when people have "Show hidden files" set, (And no, disabling "Show Hidden Files" is not an option) Thoughts????
Question by:Snakebyte

Author Comment

ID: 12323518
Found my own answer:

1. Create a DFS root. 2. Create a Share (example: UserData) and block Security list propogagtion (set only Administrator and System as Full Control (Everyone (users) are not listed) -- the share permission should allow Everyone (Read, Modify) 3. Create a sub-folder named appropriately such as "Hidden", and assign security for who is allowed to Read/Create, etc.. 4. Add the shared folder, UserData, to the DFS root.

5. Now, uses can browse the root, and they will see the folder UserData but they will be unable to open it to see the Hidden value (even if they have a mapped drive.

6. Users who know the full path, can access it via \\dfsrootname.local\UserData\Hidden if they have sufficient rights. You can also create a nice "If Member" logon script to map that as a separate drive letter for those users who do have rights.

Expert Comment

ID: 12329744
Deny the right to list folder (Advanced rights) for the users/groups you do not want this folder to be seen.
Do not deny this right for everyone because this includes the administrator as well.

Accepted Solution

modulo earned 0 total points
ID: 14094226
PAQed with points refunded (250)

Community Support Moderator

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

So you have two Windows Servers and you have a directory/folder/files on one that you'd like to mirror to the other?  You don't really want to deal with DFS or a 3rd party solution like Doubletake. You can use Robocopy from the Windows Server 200…
Learn about cloud computing and its benefits for small business owners.
When you have multiple client accounts to manage, it often feels like there aren’t enough hours in the day. With too many applications to juggle, you can’t focus on your clients, much less your growing to-do list. But that doesn’t have to be the cas…
From store locators to asset tracking and route optimization, learn how leading companies are using Google Maps APIs throughout the customer journey to increase checkout conversions, boost user engagement, and optimize order fulfillment. Powered …

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question