Securing the MetaBase

The MetaBase is the file used by IIS to store information about the configuration of the hosted Web sites. In addition to the fairly innocuous information about Web sites, the MetaBase also contains the service passwords used by IIS to authenticate anonymous users and to access the service accounts required to execute threads and access system controlled resources.

The metabase.bin file is stored within the %systemroot%system32inetsrv directory. Other than for backup and high-level intensive troubleshooting, you'll never access this file directly. However, if a malicious user is able to gain access to this file, they can quickly extract account names and passwords to obtain system level privileges.

Data stored is stored in the metabase.bin in a binary format that is proprietary and used only by IIS. However, Microsoft was clever enough to include a manual viewing and editing tool named MetaEdit in the Windows 2000 Resource Kit. So, anyone with access to the W2K RK and your metabase.bin file can own your Web server and possibly your network.

Fortunately, the metabase.bin file and its host directory are configured by default with access restriction to only IIS, the system itself, and administrators. The key to keeping this file out of the wrong hands is to keep the default security restrictions or impose even more stringent controls.

Here are a few tips to keep the metabase.bin file safe:

  1. Grant administrative

    Requires Free Membership to View

  1. access only to fully trusted individuals
  2. Never host Web site files (documents or scripts) on the boot partition
  3. Never map a virtual directory to the root or any sub-folder on the boot partition
  4. Maintain secure control over backup media
  5. Maintain physical access control over the Web server

About the author
James Michael Stewart is a researcher and writer for Lanwrights, Inc.

This was first published in September 2002

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

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.