Securing the IIS metabase

Securing the IIS metabase

Microsoft Internet Information Server (IIS) uses a centralized repository known as the metabase to store configuration information for the Web server. In

    Requires Free Membership to View

    When you register, my team of editors will also send you the latest expert resources covering pertinent IT topics such as Windows server backup and recovery, server administration, storage management, infrastructure security, virtualization, Hyper-V, Active Directory and Group Policy.

    Cathleen A. Gagne, Senior Editorial Director

    By submitting your registration information to SearchWindowsServer.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchWindowsServer.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

earlier versions of IIS, the metabase was stored as a single binary file readable only by specialized applications. IIS 6.0 introduces an easily readable XML version of the metabase. With this increased transparency, it's even more important that you configure metabase security options properly to ensure the confidentiality, integrity and availability of your IIS servers.

One of the most critical metabase security measures you can take is to protect the metabase configuration files using appropriate access control lists. There are four specific files that you need to protect in IIS 6.0:

  • Metabase configuration information (systemrootSystem32InetsrvMetaBase.xml)
  • Metabase schema file (systemrootSystem32InetsrvMBSchema.xml)
  • Metabase history files (systemrootSystem32InetsrvHistory*)
  • Metabase backup files (systemrootSystem32InetsrvMetaBack*)

Permissions on these files should be restricted to two entities. The NT AUTHORITYSYSTEM internal account and the BUILTINAdministrators group should have Full Control of these files/directories. All other ACL entries should be removed. If you're using an older version of IIS, you'll want to implement similar access controls for the metabase.bin binary file.

If you'd like further information on securing the IIS Metabase, you might want to consult Microsoft's Metabase Security Checklist for IIS 6.0. This checklist offers a wealth of practical advice on configuring security options for the IIS metabase.

About the author
Mike Chapple, CISSP, currently serves as Chief Information Officer of the Brand Institute, a Miami-based marketing consultancy. He previously worked as an information security researcher for the U.S. National Security Agency. His publishing credits include the TICSA Training Guide from Que Publishing, the CISSP Study Guide from Sybex and the upcoming SANS GSEC Prep Guide from John Wiley. He's also the About.com Guide to Databases.


This was first published in November 2003

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.