Last active
May 16, 2018 23:27
-
-
Save levonlee/78fc9f24038cbd603014660419c1ad2d to your computer and use it in GitHub Desktop.
Test HTTP Response Header Content-Security-Policy
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="Content-Security-Policy" content="default-src https://cdn.example.net; child-src 'none'; object-src 'none'"> | |
<meta http-equiv="X-Custom-CSP" content="default-src https://cdn.example.net; child-src 'none'; object-src 'none'"> | |
<meta name="viewport" | |
content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<title>Title</title> | |
</head> | |
<body> | |
<p>Hello</p> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment