Basic content restrictions
Content-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'self'
A starting policy that still needs application-specific script, style, image, and connection sources.
Paste raw HTTP response headers from your browser's Network tab or a command like curl -I. Parsing and analysis happen entirely in your browser. This tool analyzes pasted headers only — it does not and cannot fetch a remote URL and inspect live headers for you.
Nothing pasted yet — add some response headers above to see the parsed directives, risky combinations, missing recommended headers, and example baseline configs.
Baseline configuration examples
These are illustrative starting points, not universal best settings for every app.
Review headers as a policy set: individual directives can interact or contradict each other.
Basic content restrictions
Content-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'self'
A starting policy that still needs application-specific script, style, image, and connection sources.
Cookie hardening
Set-Cookie: session=example; Secure; HttpOnly; SameSite=Lax
The browser limits insecure transport, script access, and some cross-site requests.
Examples and guidance reviewed .