Skip to content

Instantly share code, notes, and snippets.

@toddsiegel
Last active May 25, 2017 15:56
Show Gist options
  • Save toddsiegel/121b10df3359c431d64ceea05fa7bcc3 to your computer and use it in GitHub Desktop.
Save toddsiegel/121b10df3359c431d64ceea05fa7bcc3 to your computer and use it in GitHub Desktop.
A default, minimal content security policy
# 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