PHP Classes

File: test/vectors/basic-csp.json

Recommend this page to a friend!
  Classes of Scott Arciszewski   PHP CSP Header Builder   test/vectors/basic-csp.json   Download  
File: test/vectors/basic-csp.json
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP CSP Header Builder
Generate Content Security Policy headers
Author: By
Last change:
Date: 3 years ago
Size: 1,218 bytes
 

Contents

Class file image Download
{ "report-only": false, "report-uri": "/csp_violation", "base-uri": { "self": true }, "default-src": { "self": true }, "child-src": { "allow": [ "https://www.youtube.com", "https://www.youtube-nocookie.com" ], "self": false }, "connect-src": { "self": true }, "font-src": { "self": true }, "form-action": { "allow": [ "https://example.com" ], "self": true }, "frame-ancestors": [], "img-src": { "self": true, "data": true }, "media-src": [], "object-src": [], "plugin-types": [], "script-src": { "allow": [ "https://ajax.googleapis.com", "https://cdn.mathjax.org", "https://oss.maxcdn.com", "https://www.google-analytics.com" ], "hashes": [ { "sha256": "qznLcsROx4GACP2dm0UCKCzCG-HiZ1guq6ZZDob/Tng=" } ], "self": true, "unsafe-inline": false, "unsafe-eval": false }, "style-src": { "self": true }, "upgrade-insecure-requests": true }