Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


May 2002

IIS Lockdown

RSS
Subscribe to Windows Web Solutions | See More Security Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

IIS Lockdown's undo operation also reapplies the backup copy of the metabase the tool created before it performed the lockdown operation. Thus, any changes you make to IIS between lockdown and undo will be lost. However, the undo process makes another metabase backup before applying the previous backup, so you can recreate lost changes, if necessary.

IIS Lockdown Unattended
Using unattended mode for IIS Lockdown is fairly straightforward. Open iislockd.ini in Notepad and modify two keys in the [Info] group so that they read as follows:

Unattended=TRUE
UnattendedServerType=
  <ServerType>

For ServerType, choose a value from those listed in the ServerTypesNT4 and ServerTypes keys, also in the [Info] group.

IIS Lockdown 2.1 doesn't support command-line options, so modifying iislockd.ini is the only method for automation. This limitation presents a problem when you have multiple configurations or classes of servers. To circumvent the problems, perform these steps:

  1. Create a separate directory for each configuration.
  2. In the iislockd.ini file in each directory, turn on unattended mode and select the desired server type.
  3. Launch IIS Lockdown from the appropriate directory as required for the server class.

The final key of interest in iislockd.ini's [Info] group is Undo, which lets you undo the previous lockdown operation if set to TRUE. If Undo is TRUE, IIS Lockdown performs the undo operation; it doesn't rerun itself to install the server type that the UnattendedServerType key specifies.

Custom Server Templates
You can create custom server templates and add them to the IIS Lockdown configuration list by modifying and adding information to the iislockd.ini file. Use the following process to create a custom server template:

  1. Open iislockd.ini in Notepad.
  2. Review the template names in the ServerTypesNT4 and ServerTypes keys, and come up with a new name (i.e., a name that IIS Lockdown isn't already using) for your new template.
  3. Copy one of the existing server templates in the .ini file, and paste it at the bottom of the .ini file.
  4. Change the template name (the word in brackets []) to the name you chose in Step 2.
  5. Change the label key to a description of your new template.
  6. Add the new template name to ServerTypesNT4 (for an NT 4.0 server template) or ServerTypes (for a Win2K server template).
  7. Edit the iislockd.ini keys as necessary to enable or disable IIS Lockdown options.

IIS Lockdown can help you create a more secure Web server, but you can't stop there. Security is an ongoing process and should always be at the top of your priority list.

End of Article

   Previous  1  2  [3]  Next  


Reader Comments
In-depth article, but it did not address the major issues:

Why should I use IIS Lockdown?
What specific vulnerabilities are there that IIS lockdown solves?
What environments/aplications would best benefit from IIS Lockdown?
How would a small business (2-10 web servers)benefit from IIS Lockdown?

Thanks.

Phil Wyatt August 12, 2003


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
The Memory-Optimization Hoax

Don't believe the hype. At best, RAM optimizers have no effect. At worst, they seriously degrade performance. ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

WinInfo Short Takes: Week of November 24, 2008

An often irreverent look at some of the week's other news, including a Vista Capable dismissal request, Zune price reductions, Morrow musings, Novell and Microsoft sitting in a tree ... two years later, Yahoo!, IE 6 on Windows Mobile, and so much more ...


Security Whitepapers The Impact of Messaging and Web Threats

Why SaaS is the Right Solution for Log Management

Protecting (You and) Your Data with Exchange Server 2007

Related Events Top 10 Email Security Challenges and Solutions

Introduction to Identity Lifecycle Manager "2"

Delivering Reliable and Effective Web-Based Applications

Check out our list of Free Email Newsletters!

Security eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

Related Security Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing