Hide ASP.NET Version Number from Response Headers

10 Apr

In this post we will learn how to hide the ASP.NET version number from response headers of a web site

Hiding the ASP.NET Version Number

Hiding the ASP.NET Version Number

We can hide the version number in web.config file inside httpRuntime tag setenableVersionHeader=”false”

    <httpRuntime targetFramework=”4.5″ enableVersionHeader=”false”/>

enableVersionHeader

enableVersionHeader

 

 

 

One thought on “Hide ASP.NET Version Number from Response Headers

Leave a Reply

Your email address will not be published. Required fields are marked *