Is it possible to hide a folder / file base on user level?

Posted on 2004-11-16
Medium Priority
Last Modified: 2010-04-19
Dear all experts,

  I would like to know in Windows 2003 Server, is it possible to hide a folder / file base on user level?  Can I make some changes on the NTFS level so that only specific group of user can view the file / folder via network.  For the rest of user, it will be hidden when they browse via network.

  Kindly give me some help.

Question by:LegalIT
  • 2
LVL 97

Accepted Solution

Lee W, MVP earned 500 total points
ID: 12594642
Windows doesn't have any ability to hide files other than using the hidden attribute, which is an all or nothing thing that, if you user tells it to, can be seen anyway.  You can adjust permissions to retrict users from reading/opening files or folders.  To that end, if you put a file in a folder the users are locked out of, you can effectively hide it that way, I suppose.

Expert Comment

ID: 12594689
You can set permissions to folders/files based on users or groups. This in itself does not "hide" the folder but restricts access to anyone not in the Acess Control List. You can hide the folder by right clicking folder and selecting the "hidden" attribute to hide the folder.

Expert Comment

ID: 12595412
Make a file called share$

This sort of hides the file.

Users will have to type in the path via windows explorer.


This is a good solution only if there are a small ammount of folders that you want a small ammount of people to have "hidden access" to.

Remember to set the NTFS permissions correctly aswell just incase someone peeps oveer your shoulder. ;-)
LVL 97

Expert Comment

by:Lee W, MVP
ID: 12595525
Adding a $ to the end of a share name hides the share.  It does not hide files or folders when viewed on the local machine

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

by Batuhan Cetin In this article I will be guiding through the process of removing a failed DC metadata from Active Directory (hereafter, AD) using the ntdsutil tool in a Windows Server 2003 environment. These steps are not necessary in a Win…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…

809 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