How to HIDE IIS ASP.Net and X-Powered-By ASP.NET

You might have seen the following informaiton in the request header of your website. An attacker can use this information to carry out attacks on your website. You can easily avoid this.

The following will remove ASP.net version header

<system.web>
   <httpRuntime enableVersionHeader="false" />   
  </system.web>

The following will remove X-Powered-By and IIS version

<system.webServer>
        <httpProtocol>
            <customHeaders>
                <remove name="X-Powered-By" />
            </customHeaders>
        </httpProtocol>
        <rewrite>    
          <outboundRules rewriteBeforeCache="true">
            <rule name="Remove Server header">
              <match serverVariable="RESPONSE_Server" pattern=". " />
              <action type="Rewrite" value="" />
            </rule>
          </outboundRules>
        </rewrite>
    </system.webServer>

Donate me $1 or above :) https://www.paypal.me/ccsindia

Contact us for any question on this topic

3/14/2019

Top 5 Largest technology employers in Silicon Valley

Click here to Read Complete Article

2/1/2019

DNS flag day 2019 - How to check your website

Click here to Read Complete Article

1/10/2019

Removes these 85 dangerous apps from your Android Phone - Complete list

Click here to Read Complete Article

Search for any Payment Gateway PayPal , PayTm , BIKE BOT , Tech Help , Tech News

Click here to Contact for any Integration Help

Click here if you wants free ₹51 in bank account NOW!

Now how to make Money Online for Free

India Asian Gold Medals