Click here to Skip to main content
14,696,452 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
I need to remove Server Information from Response header

My IIS version is IIS 5.1
Please let me know, how can i do this in Global.asax file

I want to remove Server,X-AspNet-Version, and X-Powered-By information from the Response header

I got some solution, bt it requires IIS 7 or higher version.
Please respond quickly.
Needs solution urgently.
Posted
Updated 14-Jan-13 22:38pm
v2
Comments
   
No, you don't need it urgently, otherwise you would take care about the detail of this question.
What information do you want to remove? Basically, a Web user don't get any redundant information unless you put it there intentionally.
—SA
Vinay iGATE 15-Jan-13 3:37am
   
I want to remove Server,X-AspNet-Version, and X-Powered-By information from the Response header

   
Comments
Vinay iGATE 15-Jan-13 4:15am
   
I have tried this.
It works for removing "X-AspNet-Version, and X-Powered-By " information.
But, to remove "Server" information, it needs IIS version 7.
Suvabrata Roy 15-Jan-13 4:17am
   
Is this useful to you...?
Vinay iGATE 15-Jan-13 4:19am
   
For removing X-Powered-By info, that link was useful.
Suvabrata Roy 15-Jan-13 4:21am
   
http://technet.microsoft.com/en-us/security/cc242650.aspx

UrlScan Security Tool
http://www.microsoft.com/en-us/download/details.aspx?id=12719[^]



will probably use this utility to solve my Issue.

Thanks to all.
   
v5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900