Setting Access Permission for a Directory or File

You can control access to your Web server's directories and files by setting Windows NT File system (NTFS) access permissions. You can use NTFS permissions to define the level of access that you want to grant to specific users and groups of users, with valid Windows NT accounts. For example, you can set up permissions to allow some users to view and modify a particular file, while preventing other users from copying, moving, or executing the same file. Proper configuration of file and directory permissions is crucial for preventing unauthorized access. For more information, see About Access Control and consult your Windows NT documentation.

To set access permissions for a directory or file
  1. In Windows NT Explorer, select a directory or file you want to secure.
  2. On the File menu, select Properties.
  3. On the Security property sheet, click Permissions.
  4. In the Directory Permissions dialog box, click Add to add users and groups.
  5. In the Add Users and Groups dialog box, select a computer or domain from the List Names From list box.
  6. In the Names box, select a user or group that you want to grant access to your file or directory. (For more information about user and groups, click the Help button.)
  7. Note   The default access settings for NTFS directories and files grants Full Control access to the Everyone user group, which includes all users. This means that all users have permission to modify, move, and delete files or directories, and to change NTFS permissions.

  8. From the Type of Access list box, set the access permission level for the selected user or group.
  9. Click OK.
  10. Note   If there are conflicts between your NTFS and Web server permissions, the most restrictive settings will be used. This means that permissions that explicitly deny access always take precedence over those permissions that grant access.


© 1997 by Microsoft Corporation. All rights reserved.