
Configuring a Local Web Site
After you create a local Web site, you can configure it to run ASP.NET pages and configure security. The following table shows the permissions settings that are available in all versions of IIS, including IIS 6.0.
Account or Group
|
Permissions
|
|---|
Administrators
|
Full Control
|
System
|
Full Control
|
An account or group that is allowed to browse the site if you disabled anonymous authentication when you created the virtual directory.
|
Read & Execute
|
The account that is configured to access system resources for the ASP.NET current user context, such as the Network Service account (IIS 6.0) or the ASPNET account (IIS 5.0 and 5.1)
|
Read & Execute
List Folder Contents
Read
Write
|
When you are finished configuring the site, you can then add ASP.NET Web pages to the site's directory.
To configure security and authentication for a local Web site
In IIS Manager, right-click node for the site that you want to configure, and then click Properties.
Click the Directory Security tab, and then in the Authentication and access control section, click Edit.
Select the check box for the authentication method or methods that you want to use for the site, and then click OK. By default, the Enable anonymous access and Windows Integrated Authentication check boxes are already selected.
In Windows Explorer, open the parent folder of the folder that contains the pages for the site. Right-click the folder and then click Sharing and Security.
On the Security tab, configure the additional accounts and permissions that are minimally necessary to run the Web site, and then click OK. Some of the accounts listed, such as Administrators and System, are already configured by default.
Note: |
|---|
To add a new group or user name, click
Add, and then click the Locations button. Select the local computer name from the list and then click OK. Then type the account name that you want to add into the text box. After typing the name, click Check Names to verify the account name. Click OK to add the account.
|