Skip to content

Instantly share code, notes, and snippets.

@neotreat
Created September 12, 2017 10:00
Show Gist options
  • Save neotreat/bad0fc8af7f39c3c57b5466d1fce7eb4 to your computer and use it in GitHub Desktop.
Save neotreat/bad0fc8af7f39c3c57b5466d1fce7eb4 to your computer and use it in GitHub Desktop.
A basic example for a Content-Security-Policy using a meta-tag.
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Security-Policy" content="default-src 'none';">
</head>
<body>
...
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment