~/talk

Content Security Policy: From newbie to advanced

Talkat NDC Security 2025 · 2025-01-20..01-23· [security, web-platform]
links:none on file
slides:none on file

Explains how to build a working CSP by overriding header in Chromium to iteratively break and fix the NDC Security tickets page, adding specific host entries, hashes and nonces until functionality returns; uses Google’s CSP Evaluator to flag weaknesses and demonstrates report sample (first 40 chars) in violation payloads. Notes practical pitfalls: Google Tag Manager requires dozens of TLDs (listed ~187), report-uri vs report-to support gaps, strict-dynamic for delegated scripts, and the new PCI DSS requirement to have a CSP.

AI-written summary · about

  1. 0:00Content Security Policy intro
  2. 1:56Why use CSP
  3. 4:02CSP basics and directives
  4. 8:17Enforced vs report-only
  5. 15:44Live CSP policy demo
  6. 25:06Inline scripts and styles
  7. 30:52Advanced CSP techniques
  8. 35:14Preventing XSS with CSP
  9. 38:05Making CSP strict
  10. 41:17Multiple policies pitfalls
  11. 42:19CSP reporting and monitoring
  12. 48:45How not to create CSP
  13. 55:10Summary and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.