Created
February 8, 2018 15:56
-
-
Save blowdart/e1a65c9051cc997d669c7235fa062cd3 to your computer and use it in GitHub Desktop.
Suppressing headers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.web> | |
<httpRuntime enableVersionHeader="false"/> | |
</system.web> | |
<system.webServer> | |
<security> | |
<requestFiltering removeServerHeader="true" /> | |
</security> | |
<httpProtocol> | |
<customHeaders> | |
<remove name="X-Powered-By"/> | |
</customHeaders> | |
</httpProtocol> | |
</system.webServer> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment