Last active
October 24, 2022 09:05
-
-
Save miguelmota/7c8eabf5745b0e721f41158cc1b6591f to your computer and use it in GitHub Desktop.
Netlify security headers (securityheaders.io)
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
/* | |
X-Frame-Options: DENY | |
X-XSS-Protection: 1; mode=block | |
Referrer-Policy: no-referrer | |
X-Content-Type-Options: nosniff | |
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload | |
Feature-Policy: geolocation 'none'; midi 'none'; sync-xhr 'none'; microphone 'none'; camera 'none'; magnetometer 'none'; gyroscope 'none'; speaker 'none'; fullscreen 'none'; payment 'none' | |
Content-Security-Policy: default-src * 'unsafe-inline' 'unsafe-eval'; script-src * 'unsafe-inline' 'unsafe-eval'; connect-src * 'unsafe-inline'; img-src * data: blob: 'unsafe-inline'; frame-src *; style-src * 'unsafe-inline' |
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
[[headers]] | |
for = "/*" | |
[headers.values] | |
X-Frame-Options = "DENY" | |
X-XSS-Protection = "1; mode=block" | |
Referrer-Policy = "no-referrer" | |
X-Content-Type-Options = "nosniff" | |
Strict-Transport-Security = "max-age=31536000; includeSubDomains; preload" | |
Feature-Policy = "geolocation 'none'; midi 'none'; sync-xhr 'none'; microphone 'none'; camera 'none'; magnetometer 'none'; gyroscope 'none'; speaker 'none'; fullscreen 'none'; payment 'none'" | |
Content-Security-Policy = "default-src * 'unsafe-inline' 'unsafe-eval'; script-src * 'unsafe-inline' 'unsafe-eval'; connect-src * 'unsafe-inline'; img-src * data: blob: 'unsafe-inline'; frame-src *; style-src * 'unsafe-inline'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment