Click here to Skip to main content
15,881,413 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am getting server banner and asp.net version disclosure in asp.net with c#. Server name with Microsoft-HTTPAPI/2.0 coming in the header response.

What I have tried:

I added removeserverheader attribute as true and enableversionheader as false in web.config file
Posted
Comments
Andre Oosthuizen 6-Feb-23 9:40am    
Ignore this question as proper question posted by member here - https://www.codeproject.com/Questions/5353948/How-to-avoid-ASP-NET-version-disclosure-in-ASP-NET

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