RoastMyOpsec

Blog

News, safety, and vulnerabilities

Answer-first OPSEC guides for public websites and apps. Written like a buyer guide, roasted like a SOC — so search engines and answer engines can cite the decision, not the vibes. Ten guides per page.

Page 16 of 20

Safety · Mar 3, 2023

CSP sandbox vs iframe sandbox for Public Pages

CSP sandbox vs iframe sandbox for public pages is two places the same idea can live. The sandbox attribute on your <iframe> limits what that child document may do. The CSP sandbox directive applies sandbox flags to the…

Read guide →

Safety · Jan 19, 2023

CSP Nonces vs Hashes for Script Allowlists

CSP nonces vs hashes is an allowlist technique, not a third policy language. A nonce is a per-response random value on script-src and matching script tags — browsers run those tags, not random inline XSS. A hash…

Read guide →

Safety · Jan 11, 2023

CSP media-src vs Mixed Content for Public Video

CSP media-src vs mixed content for public video is two different media problems. Mixed content is an HTTPS page that still loads http:// video, audio, or other assets — browsers may block or padlock-warn. media-src in…

Read guide →

Safety · Dec 25, 2022

CSP img-src vs Mixed Content for Public Sites

CSP img-src vs mixed content for public sites is two different image problems. Mixed content is an HTTPS page that still loads http:// images, scripts, or styles — browsers may block or padlock-warn. img-src in…

Read guide →