Microsoft KB Archive/301195

= How To Configure Security for Files and Folders on a Network (Domain) in Windows 2000 =

Article ID: 301195

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition

-



This article was previously published under Q301195



IN THIS TASK
SUMMARY Setting Security on a Folder Troubleshooting
 * Users Cannot Access Files and Folders That They Should Be Able to When Logged On Locally
 * Users Can Access Files and Folders with Incorrect Permissions When Logged on Locally
 * Users Cannot Access Files and Folders That They Should Be Able to Access Over the Network
 * There Is No Security Tab in the Folder Properties Dialog Box



SUMMARY
This step-by-step guide describes how to configure security for files and folders on a network to protect data from unauthorized access.

For example, assume that you get a call from Fran, the manager of your Accounts Receivable department. Fran has been working on several spreadsheets that are stored on a file server in your domain, and is concerned that employees who should not access these files may be able to open and edit the files. The files are in a folder named C:\Accounts on the server, and the folder is shared as Accounts. The share permissions on the Accounts share for Domain Users members are set to Full Control. Fran wants to allow the members of the Accountants group to edit the files and add new files, and the members of the Sales group to be able to read the files but not edit them. Fran should be the only person who can make any changes to the permissions, and no one else should have any access to the files.

back to the top

Setting Security on a Folder
To configure folder and file security:
 * 1) Log on to the server by using your domain user name and password.
 * 2) Click Start, point to Programs, point to Accessories, and then click Windows Explorer.
 * 3) Expand My Computer, and then click the drive that contains the folder you want to configure. Right-click the folder you want to secure (for example, Accounting), and then click Properties.
 * 4) Click the Security tab, and then click to clear the Allow inheritable permissions from parent to propagate to this object check box.
 * 5) In the Security dialog box, click Copy.

NOTE: The inherited permissions are copied directly to this folder.
 * 1) To add a set of permissions, in the Properties dialog box, on the Security tab, click Add. In the Select Users, Computers, or Groups dialog box, double-click the appropriate user accounts or groups. When you have selected all of the users and groups to which you want to assign permissions, click OK. The groups and users you added, along with the Everyone group, are displayed in the top half of the Security tab.
 * 2) In the Name list, select each user or group one at a time, and then apply the correct permissions in the Permissions list.

The default Allow setting for Read, List Folder Contents and Read & Execute Permissions allows the Sales group the appropriate level of permissions. For the Accounting group, for the Modify permission, click Allow, so that members of that group can add new files to the folder or edit the files in the folder. For Fran's user account, for the Full Control permission, click Allow, which allows Fran to read, modify, delete, and change the permissions on the folder and its contents.
 * 1) After you set the appropriate permissions, click the Everyone group, and then click Remove.

back to the top

Users Cannot Access Files and Folders That They Should Be Able to When Logged On Locally
Access permissions are combined from any permissions that are assigned directly to the user and those that are assigned to any groups of which the user is a member.

The exception to this rule is if there is an explicit Deny permission on the folder or file. This occurs because Deny permissions are enumerated first when Windows 2000 is determining whether or not a particular user can perform a particular task. Therefore, you should avoid using explicit Deny permissions (that is, avoid clicking to select a check box in the Deny column) unless there is no other way to achieve the permissions mix that you need.

back to the top

Users Can Access Files and Folders with Incorrect Permissions When Logged on Locally
For example, users can write instead of just read when they are logged on locally. Permissions, by default, are inherited from the folder that contains the object. If you are experiencing inappropriate permission levels, check for both inherited permissions that are incorrect for this object and for group memberships that may grant different levels of permissions than you want to have.

back to the top

Users Cannot Access Files and Folders That They Should Be Able to Access Over the Network
When you access data over the network, both share permissions and file and folder permissions apply. Share access permissions are combined from any permissions that are assigned directly to the user and those assigned to any groups of which the user is a member. The exception to this is if there is an explicit Deny permission on the folder or file. This occurs because Deny permissions are enumerated first when Windows 2000 is determining whether or not a particular user can perform a particular task. Therefore, if Frank, for example, is a member of a group that has the Deny check box selected for Read in the Deny column, he is unable to read the file or folder, even if other permissions should allow him to do so.

You should avoid using explicit Deny permissions (that is, avoid clicking to select a check box in the Deny column) unless there is no other way to achieve the permissions mix that you need. Check both the share permissions and the file and folder permissions for the user and any groups of which he or she is a member.

back to the top

There Is No Security Tab in the Folder Properties Dialog Box
If you do not see the Security tab in the folder properties, it is likely that you are using the FAT or FAT32 file system. Windows 2000 includes a utility that can safely convert your drive to from the FAT or FAT32 file system to the NTFS file system.

WARNING: Do not convert your drive if you are running both Windows 2000 and another operating system on the computer (that is, if it is a dual-boot computer) and the other operating system cannot read NTFS drives.

To convert a partition to NTFS:  Click Start, point to Programs, point to Accessories, and then click Command Prompt. Type convert : /FS:NTFS, where   is the drive that you want to convert.

For example, to convert drive D to NTFS, type the following line:

convert D: /FS:NTFS

 If you attempt to convert a drive while it is being accessed by Windows 2000, Windows 2000 displays a message prompting you to convert the drive when the computer is restarted. Click Yes, quit any running programs, and then restart your computer.

back to the top

Keywords: kbhowto kbhowtomaster KB301195

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.