CSP header builder
Compose a Content-Security-Policy header from per-directive checkboxes and host lists — with the <meta> equivalent and inline/eval warnings.
How to use
- Check allowed sources per directive and list extra hosts.
- Optionally add upgrade-insecure-requests / block-all-mixed-content.
- Copy the header or the <meta> tag.
What it supports
Emits selected directives, source keywords, and host entries — it concatenates, it does not audit. 'unsafe-inline'/'unsafe-eval' are flagged. frame-ancestors is dropped from the <meta> form because <meta> cannot carry it.