How to remove IIS/ASP.NET Response Headers
Posted
by Redbeard 0x0A
on Server Fault
See other posts from Server Fault
or by Redbeard 0x0A
Published on 2009-06-12T16:31:38Z
Indexed on
2010/03/16
19:41 UTC
Read the original article
Hit count: 379
I have a couple IIS/6.0 servers that security is asking me to remove a couple of response headers that are sent to client browsers on requests. They are concerned about divulging platform information through response headers. I have removed all the HTTP-HEADERS out of the IIS configuration for the website (X-Powered-By or some such header).
(I personally do know that this information can be easily found out, even if it is hidden, but it isn't my call.)
Headers I want to remove:
- Server - Microsoft-IIS/6.0
- X-AspNet-Version - 2.0.50727
I also know that ASP.NET MVC also emits its own header too, if you know how to remove it also, that would be helpful.
- X-AspNetMvc-Version - 1.0
© Server Fault or respective owner