Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

You cannot configure NTFS permissions to hide files or folders from unauthorized users

View products that this article applies to.


Novell NetWare administrators can configure permissions so that users cannot see files or folders in the file system for which the users do not have Read access by removing the File Scan (F) permission. This type of access control is not supported by the NTFS file system. Therefore, users can view the contents of any folder for which the user has the List permission. Removing the List permission for the folder prevents the user from gaining access to any file in the folder.

↑ Back to the top

More information

Returning a list of files and folders based on file permissions would require a full access check on every object in the directory. In the Windows NT and Windows 2000 distributed security model, this would use up a lot of CPU cycles and service request time. If you had more than a certain number of objects and a very complex Access Control List (ACL) structure, the Server Message Block (SMB) request might time out.

The List Folder Contents permission may be useful because it allows users to list the contents of a folder without having permission to read the files. If you assign the Read Data permission on the contents of a folder without the List Folder Contents permission on the folder itself, users receive an "Access Denied" error message in Windows Explorer or at a command prompt. Windows Explorer and the command prompt attempt to gain access to the folder before gaining access to the files that are located in the folder.

Table 12.7 on page 657 of the "Internetworking Guide" in the Windows 2000 Resource Kit contains a comparison of NetWare permissions and NTFS permissions. This table compares the File Scan (F) permission to the List Folder Contents permission. The comparison in this table is inaccurate (as described in this article).

This functionality is now available in Microsoft Windows Server 2003 Service Pack 1 (SP1). The feature is known as Access Based Enumeration. For more information about this feature, visit the following Microsoft Web site:

↑ Back to the top

Keywords: KB303758, kbinfo, kbenv

↑ Back to the top

Article Info
Article ID : 303758
Revision : 7
Created on : 3/1/2007
Published on : 3/1/2007
Exists online : False
Views : 399