image Hide IIS7/6 Response Headers
Steps to hide using IIS:

  1. Download & Install UrlScan
  2. Download UrlScan 3.1: http://www.iis.net/download/urlscan
  3. Configure UrlScan.ini settings
  4. Open UrlScan.ini with Notepad (run as administrator).

C:\%OS-Directory%\System32\inetsrv\urlscan\UrlScan.ini

Change RemoveServerHeader value
RemoveServerHeader=1
Or
Also Using .Net code
Editing Machine.Config settings file
This next edit you will need to make on each ASP.NET Framework version that you currently run. For example, Force 5 has applications that run ASP.NET version 2.0 & 4.0.
You will need to add this configuration setting to each Machine.Config file inside the <system.web>section.
<system.web>
<httpRuntime enableVersionHeader=”false” />
…..
</system.web>

Using PHP code
Editing php.ini configuration settings (skip this step if you do not have PHP installed)
Locate and open up your php.ini file
Scroll down until you locate “expose_php“
Set expose_php = Off

Leave a Reply