Microsoft KB Archive/317376

= HOW TO: Use and Apply the IIS Secure Internet Web Server and Secure Intranet Web Server Security Configuration Templates in Windows 2000 =

Article ID: 317376

Article Last Modified on 3/2/2007

-

APPLIES TO


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

-



This article was previously published under Q317376



IN THIS TASK
SUMMARY How to Use and Apply the IIS Security Configuration Templates
 * Step 1: View or Modify the Template by Using the Security Templates Snap-in
 * Step 2: Import the Template to the Security Configuration and Analysis Snap-in
 * Step 3: Analyze the Computer's Security Settings
 * Step 4: Configure the Computer's Security Settings

REFERENCES



SUMMARY
This step-by-step article describes how to use and apply the Microsoft Internet Information Services (IIS) Secure Internet Web Server and Secure Intranet Web Server security templates.

The Secure Internet Web Server and Secure Intranet Web Server templates are predefined security configuration templates that you can use to configure security on an IIS-based Web server. These templates are available in the Microsoft Windows 2000 Server Resource Kit. Each template is saved as a text-based .inf file, to which you can make any necessary changes.

back to the top

How to Use and Apply the IIS Security Configuration Templates
To use the Secure Internet Web Server template (SecureInternetWebServer.inf) or the Secure Intranet Web Server template (SecureIntranetWebServer.inf), follow these steps.

Step 1: View or Modify the Template by Using the Security Templates Snap-in
To view or make changes to the security configuration templates, follow these steps:  Click Start, and then click Run. In the Open box, type sectemplates.msc, and then click OK.

The Security Templates snap-in starts. In the console tree, expand Security Templates, and then expand  \Security\Templates.

The security templates that are currently installed on the computer, including SECUREINTERNETWEBSERVER and SECUREINTRANETWEBSERVER, are displayed. Expand the security template that you want to use. The following security policies are listed:

Account Policies

Local Policies

Event Log

Restricted Groups

System Services

Registry

File System

 Expand the policy that you want to view or modify -- for example, Account Policies. Click the security area that you want to view or modify (for example, Password Policy), and then in the right pane, double-click the security attribute that you want. In the Template Security Policy Setting dialog box that appears, click Define this policy setting in this template (if it is not already selected), make the changes (if any) that you want, and then click OK.</li> Repeat steps 5 through step 8 to view or modify the security policy settings that you want.</li> Save the changes that you made (if any) to the template. To save the template with a new name, right-click the template in the console tree, and then click Save As. In the Save As dialog box, type a new name for the template, and then click Save.</li> Quit the Security Templates snap-in.</li></ol>

back to the top

Step 2: Import the Template to the Security Configuration and Analysis Snap-in
To import the template to the Security Configuration and Analysis snap-in, follow these steps:
 * 1) Click Start, and then click Run.
 * 2) In the Open box, type mmc, and then click OK.
 * 3) On the Console menu, click Add/Remove Snap-in, and then click Add.
 * 4) In the Available Standalone Snap-ins list, click Security Configuration and Analysis, click Add, and then click Close.
 * 5) Click OK.
 * 6) In the console tree, right-click Security Configuration and Analysis, and then click Open Database.
 * 7) In the Open database dialog box that appears, type a name for the new database in the File name box, and then click Open.
 * 8) In the Import Template dialog box that appears, click the IIS template that you want to import, and then click Open.

The security template is imported to the security database.

back to the top

Step 3: Analyze the Computer's Security Settings
To compare the current security settings of the computer with the settings in the security database, follow these steps.

NOTE: No changes are made to the computer at this time. The results of this procedure show where there are discrepancies between the security settings in the template and the actual system settings. <ol> In the console tree, right-click Security Configuration and Analysis, and then click Analyze Computer Now.</li> In the Perform Analysis dialog box that appears, either accept the default path and log file name, or type the path and file name that you want, and then click OK.</li> When the analysis is complete, expand the following components in the console tree:

Account Policies

Local Policies

Event Log

Restricted Groups

System Services

</li> For each component that you expand in step 3, view its security attribute entries in the right pane under the Policy column, and then note the following: <ul> An entry with a green check mark indicates that the current computer settings are the same as security settings in the database.</li> An entry with a red &quot;x&quot; indicates that the current computer settings are different from the security settings in the database.</li> If a green check mark or a red &quot;x&quot; is not displayed, a setting for this security attribute is not defined in the template, and was not analyzed.

If you want to add a setting to the database, right-click a security attribute that is not included in the database, and then click Security. Click to select the Define this policy in the database check box, make the changes that you want to the policy setting, and then click OK.</li></ul>

NOTE: The Database Setting column displays the security settings that are contained in the template, and the Computer Setting column displays the computer's current settings.

</li> Save the changes that you made (if any) to a database. Right-click Security Configuration and Analysis in the console tree, and then click Save.</li></ol>

back to the top

Step 4: Configure the Computer's Security Settings
To configure the computer to use the security settings in the database, follow these steps:
 * 1) In the console tree, right-click Security Configuration and Analysis, and then click Configure Computer Now.
 * 2) In the Configure System dialog box that appears, either accept the default path and log file name, or type the path and file name that you want, and then click OK.

The security database configuration is applied to the computer.

back to the top