Created
November 18, 2018 21:12
-
-
Save ediblecode/55579db27ab665cc3f80924500d7ff37 to your computer and use it in GitHub Desktop.
Default custom headers for web.config in IIS - Edge compat and XSS protection and remove X-Powered-By
This file contains hidden or 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.webServer> | |
<httpProtocol> | |
<customHeaders> | |
<remove name="X-Powered-By" /> | |
<add name="X-UA-Compatible" value="IE=edge,chrome=1" /> | |
<add name="X-XSS-Protection" value="1; mode=block" /> | |
</customHeaders> | |
</httpProtocol> | |
</system.webServer> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment