Removing Global MIME Types
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1
If you want to globally restrict IIS from serving files with certain extensions, you can remove the related MIME types from the global list of registered MIME types in IIS Manager.
If you use IIS Manager to remove a MIME type mapping, you must also verify that the MIME type does not exist in the registry at HKEY_CLASSES_ROOT\extension. If the MIME type also exists in the registry, you must remove it. If the MIME type continues to exist in the registry, files with that extension continue to be served. Be aware, however, that if you remove a MIME type mapping from the registry, other applications may be affected, because the registry database is shared by multiple applications.
Procedures
Important
You must be a member of the Administrators group on the local computer to perform the following procedure or procedures. As a security best practice, log on to your computer by using an account that is not in the Administrators group, and then use the runas command to run IIS Manager as an administrator. At a command prompt, type runas /user:Administrative_AccountName "mmc %systemroot%\system32\inetsrv\iis.msc".
To remove a Global MIME type
In IIS Manager, expand the local computer, right-click the computer on which you want to add a MIME type, and click Properties.
Click MIME Types.
From the Registered MIME types list, click the MIME type you want to remove, and then click Remove.
Click OK.
Related Information
For information about the inheritance and merge behavior of MIME types, see MIME Types.