Friday 18 October 2024

Remove/Modify IIS 10 Server Header which discloses IIS version

 

Remove/Modify IIS 10 Server Header which discloses IIS version

 

I tested the trick on this site and it works well on IIS 10.

https://www.saotn.org/remove-iis-server-version-http-response-header/#removeserverheader-requestfiltering-in-iis-10-0

Simple web.config:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <security>
            <requestFiltering removeServerHeader="true" />
        </security>
    </system.webServer>
</configuration>

 

No comments:

Post a Comment

Note: only a member of this blog may post a comment.

Blog Archive