Microsoft KB Archive/262233

= How to configure Basic/Clear Text authentication for IIS 5.0 in Windows 2000 =

Article ID: 262233

Article Last Modified on 11/21/2006

-

APPLIES TO


 * Microsoft Internet Information Services 5.0

-



This article was previously published under Q262233



SUMMARY
This article explains how to configure Basic/Clear Text authentication for Web sites by using Microsoft Internet Information Services (IIS) version 5.0.



MORE INFORMATION
Web sites can use use several different forms of authentication; however, the focus of this article is specifically Basic/Clear Text authentication.

301457 How to view or change Authentication methods in IIS

Note When you use Basic authentication, we strongly recommend that you use Secure Sockets Layer (SSL). In Basic authentication, the user name and the password are sent in clear text and may be captured by network-monitoring software. Therefore, we strongly recommend that you use SSL so that the user name and the password are encrypted and cannot be read if they are captured by network-monitoring software.

The steps to configure Basic/Clear Text authentication are described in the following three sections:
 * 1) Configuring Basic/Clear Text Authentication (Required)
 * 2) Configuring the Log On Locally User Right (Required)
 * 3) Configuring the Default Logon Domain (Optional)

Configuring Basic/Clear Text and User Authentication (Required)
Although Web sites may use several different forms of authentication, file transfer protocol (FTP) sites are limited to Anonymous or User authentication. The steps that are detailed below only focus on the steps that are required for Basic/Clear Text authentication for Web sites and User authentication for FTP sites.

Configuring all Web sites To configure all Web sites, follow these steps:
 * 1) Open the Internet Services Manager.
 * 2) Right-click the computer name and click Properties.
 * 3) Under Master Properties, select WWW Service and click Edit.
 * 4) Click the Directory Security tab. Under Anonymous access and authentication control, click Edit.
 * 5) Select Basic authentication (password is sent in clear text). When you receive the Are you sure you want to continue? dialog box, click Yes.
 * 6) Click OK, then click OK again.
 * 7) If you receive the Inheritance Overrides dialog box, click Select All and click OK.
 * 8) Click OK to exit the Master Properties.

Configuring a specific Web site To configure a specific Web site, follow these steps:
 * 1) Open the Internet Services Manager.
 * 2) Expand the tree next to the computer name.
 * 3) Right-click the specific Web site and click Properties.
 * 4) Click the Directory Security tab. Under Anonymous access and authentication control, click Edit.
 * 5) Select Basic authentication (password is sent in clear text). When you receive the Are you sure you want to continue? dialog box, click Yes.
 * 6) Click OK, then click OK again.
 * 7) If you receive the Inheritance Overrides dialog box, click Select All and click OK.

Configuring the &quot;Log On Locally&quot; User Right (Required)
Web users that need Basic/Clear Text authentication and FTP users that need authentication in IIS both require the &quot;Log on locally&quot; user right. In Microsoft Windows NT 4.0 the &quot;Log on locally&quot; user right was assigned through User Manager, but in Microsoft Windows 2000 this is configured through policies.

Configuring a stand-alone server To configure the &quot;Log on locally&quot; right on a stand-alone server, follow these steps:  In the Microsoft Management Console (MMC), open the Local Computer Policy snap-in. To do this, follow these steps:  Click Start, type MMC, and click OK. Click Console, click Add/Remove Snap-in, and then click Add. Select Group Policy and click Add. Ensure that the Group Policy object says Local Computer and click Finish. Click Close, then click OK.</ol> </li> Grant users or groups the &quot;Log on locally&quot; right. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Expand the following path in the MMC:

Local Computer Policy\Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment

</li> Double-click Log on Locally.</li> Add any users or groups that will use Basic/Clear Text authentication.</li></ol> </li></ol>

Configuring a domain controllerNOTE: It is not recommended that you install an IIS Web server on a Windows 2000 domain controller. The following steps describe how to configure &quot;Log on locally&quot; right by using Group Policy if it is necessary that you install an IIS Web server on a Windows 2000 domain controller.

To configure the &quot;Log on locally&quot; right on a domain controller, follow these steps:

<ol> In MMC, open the Default Domain Controllers Policy snap-in. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Click Start, type MMC, and click OK.</li> Click Console, click Add/Remove Snap-in, and then click Add.</li> Select Group Policy and click Add.</li> Click Browse.</li> Double-click the domain controller for the domain.</li> Double-click Default Domain Controllers Policy and click Finish.</li> Click Close, then click OK.</li></ol> </li> Grant users or groups the &quot;Log on locally&quot; right. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Expand the following path in the MMC:

Default Domain Controllers Policy\Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment

</li> Double-click Log on Locally.</li> Add any users or groups that will use Basic/Clear Text authentication.</li></ol> </li> <li>Refresh the policy. To do this, open a command prompt, type secedit /refreshpolicy machine_policy, and then close the command prompt.</li></ol>

Configuring the Default Logon Domain (Optional)
An optional step in configuring clear text forms of authentication is to configure the Default Logon Domain. Setting this optional value prevents domain users from being required to enter their domain name when prompted for authentication.

Configuring all Web sites To configure the default logon domain for all Web sites, follow these steps:
 * 1) Open the Internet Services Manager.
 * 2) Right-click the computer name and click Properties.
 * 3) Under Master Properties, select WWW Service and click Edit.
 * 4) Click the Directory Security tab. Under Select a default domain, click Edit.
 * 5) Type your domain name, or click Browse to search for your domain.
 * 6) Click OK, then click OK again.
 * 7) If you receive the Inheritance Overrides dialog box, click Select All and click OK.
 * 8) Click OK to exit the Master Properties.

Configuring a specific Web site To configure the default logon domain for a specific Web site, follow these steps:
 * 1) Open the Internet Services Manager.
 * 2) Expand the tree next to the computer name.
 * 3) Right-click the specific Web site and click Properties.
 * 4) Click the Directory Security tab. For Select a default domain, click Edit.
 * 5) Type your domain name, or click Browse to search for your domain.
 * 6) Click OK, then click OK again.
 * 7) If you receive the Inheritance Overrides dialog box, click Select All and click OK.

Keywords: kbhowto KB262233

-

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

© Microsoft Corporation. All rights reserved.