Created
July 27, 2017 15:46
-
-
Save jacobovidal/9fb7553c3e180ffdcda801a7cb193daa to your computer and use it in GitHub Desktop.
Security headers to .htaccess
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
<ifModule mod_headers.c> | |
Header always set X-Content-Type-Options "nosniff" | |
Header always set X-XSS-Protection "1; mode=block" | |
Header always set X-Frame-Options "deny" | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
^ Typo:
ifModule
at the beginning andIfModule
at the end.