https://serverfault.com/a/151120/355165[
^]
To turn off the
X-AspNet-Version
header, change your
web.config
file:
<system.web>
<httpRuntime enableVersionHeader="false" />
</system.web>
To turn off the
X-AspNetMvc-Version
header, add the following to
Application_Start
:
MvcHandler.DisableMvcResponseHeader = true;
To turn off the
X-PoweredBy
header, change your
web.config
file:
<system.webServer>
<httpProtocol>
<customHeaders>
<remove name="X-Powered-By" />
</customHeaders>
</httpProtocol>
</system.webServer>