CSP Nonces Need Per-Response Entropy and Cache Discipline
Why CSP nonce uniqueness depends on random generation, response rendering and shared-cache control.
Tag archive
Why CSP nonce uniqueness depends on random generation, response rendering and shared-cache control.
Our own Content-Security-Policy names one inline script by SHA-256 hash. Three days later the hash had rotated and the script it names does something different.
Durante una campaña de ventas de alto tráfico, un frontend headless de comercio electrónico...
We hashed every page of our own site to find the one inline script our CSP allows - and 23 of the 56 pages do not ship it.
Deploy a starter Content Security Policy in report-only mode, find blocked resources, and tighten the policy before enforcing it.
Embedding a vendor chat widget usually means loosening your Content Security Policy. Here is how to do it without handing the page away.
I scanned eight hosted blogs with MDN's HTTP Observatory and tested every fix in Chromium. Only two policies work from a meta tag, and one meta tag the scanner rewards is ignored by browsers.

A practical guide to implementing Content Security Policy, covering directive syntax, nonces for inline scripts, report-only mode, common framework configurations, and debugging CSP violations in production.

I am not particularly paranoid about web security. For a static blog or a small product site, nobody...

I run String Utility Belt, a browser tool for chaining text transformations. Decode the Base64,...
Clickjacking hides your site in an invisible frame to hijack visitor clicks. Learn how it works and the single HTTP header that stops it for good.
Plain-English guide to security headers: what they are, the 5 every small site needs (CSP, HSTS, and more), and exact code to add them.