IIS 7.5 Server response headers (UrlScan does not work)

http-headerswindows-server-2008

In the past you could use UrlScan by Microsoft to modify the headers and remove the one's displaying IIS version for example.

This does not work for IIS 7.5 and IIS 7.0 is the latest version supported.
Is there any way I can still remove some response headers?

Running Windows Server 2008 with IIS7.5 installed.

Best Answer

You can use an IIS Native-Code module to remove any headers in IIS 7.5 (in fact, the same module should work for IIS 7.0 - 8.5).

Native-Code modules differ from the more common Managed modules, as they are written using the win32 APIs rather than ASP.NET. They work for all requests, including static pages and images.

Binaries and source code of an example Native-Code module for removing headers in IIS 7.0 to 8.5 are available in the following article. This module is a simple MSI install and will remove the "Server" "X-Powered-By" and "AspNet Version" headers by default. Other headers can be removed using the IIS configuration.

http://www.dionach.com/blog/easily-remove-unwanted-http-headers-in-iis-70-to-85