Last active
May 25, 2017 15:56
-
-
Save toddsiegel/121b10df3359c431d64ceea05fa7bcc3 to your computer and use it in GitHub Desktop.
A default, minimal content security policy
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
# This allows stylesheets, scripts and images from the same origin host, but nothing else. | |
Content-Security-Policy: default-src 'none'; script-src 'self'; style-src 'self'; img-src 'self' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment