Setting Web and FTP Permissions

It is important to understand the distinction between Web and FTP permissions, and NTFS permissions. Unlike NTFS, Web and FTP permissions apply to all users accessing your Web and FTP sites. NTFS permissions apply only to a specific user or group of users with a valid Windows account. NTFS controls access to physical directories on your server, whereas Web and FTP permissions control access to virtual directories on your Web or FTP site. For more information, see Web and FTP Sites.

By default, Web and FTP access permissions use the Windows account IUSR_computername. When users access your site, using anonymous authentication, they use this account. By default, IUSR_computername is given NTFS permissions by IIS for the actual folders that comprise the Web or FTP site. You can, however, change these permissions for any folder or file in your site. For example, you can use Web permissions to control whether users visiting your Web site are allowed to view a particular page, upload information, or run scripts on the site. For more information, see About Access Control.

Important

 

To set permissions for Web content (including WebDAV)
  1. In the IIS snap-in, select a Web site, virtual directory, or file, and open its property sheets.
  2. On the Home Directory, Virtual Directory, or File property sheet, select or clear any of the following check boxes (if available):
  3. Under Execute Permissions select the appropriate level of script execution:
  4. Click OK.
  5. Notes

Important   When you select Script Source Access, users may be able to view sensitive information, such as a user name and password, from the scripts in an ASP application. They may also be able to change source code that runs on your server, and seriously affect your server's security and performance. Access to these types of information and functions are best utilized through individual Windows accounts and higher-level authentication, such as Digest or integrated Windows authentication.

To set permissions for FTP content
  1. In the IIS snap-in, select an FTP site, virtual directory, or file, and open its property sheets.
  2. On the Home Directory, Virtual Directory, or File property sheet, select or clear any of the following check box options:

Note    Problems starting out-of-process applications after changing the account information may be a result of the user account's name and password information not being synchronized after the change. You might receive Event Log errors telling you that your IWAM_computername account could not be logged on. If you encounter this problem, run the synciwam script to synchronize the passwords. To run the script, at the command prompt type: cscript synciwam.vbs [-v|-h]

-v uses verbose mode and prints a log of the script's activity.

-h prints the script Help information.

The synciwam.vbs file is located here: %systemdrive%\inetpub\adminscripts

For more information about these property sheets, click Help on the appropriate property sheet.


© 1997-2001 Microsoft Corporation. All rights reserved.