Remove X-Powered-By: ASP.NET Header

web

Have you ever noticed that IIS tends to brand every HTTP response with the header X-Powered-By: ASP.NET - it will do this even if your site is not powered by ASP.NET!

Here's how to remove this header on IIS 6:

  1. Open up the IIS Management Console
  2. Right Click on a Web Sites and select Properties
  3. Click on the HTTP Headers Tab
  4. Under Custom HTTP Headers click on X-Powered-By: ASP.NET and click Remove

Here's how to remove it on IIS 7 / 7.5:

  1. Open Server Manager and select the server name under Internet Information Services (IIS) Manager
  2. Double click HTTP Response Headers
  3. Remove the X-Powered-By header if it exists
IIS 7.5

Thanks go to Nick Gleason for sending instructions and providing a screenshot for IIS 7



Related Entries

2 people found this page useful, what do you think?

Trackbacks

Trackback Address: 722/A50AF7C69C92E7302402DBBFDCDDA144

Comments

On 12/21/2010 at 12:16:13 PM EST Jake Munson wrote:
1
Just a minor nitpick...in your directions above there should be a step in between 2 and 3 that says: "Click on Properties"

On 08/16/2011 at 1:00:22 PM EDT Pete Freitag wrote:
2
@Jake - thanks, updated.

Post a Comment




  



Spell Checker by Foundeo

Recent Entries



foundeo


did you hack my cf?