~/talk

Content Security Policy to the Rescue

Talkat PHP UK Conference 2018 · 2018-02-14..02-16· [security, web-platform]
slides:none on file

Shows a live demo of an intentionally vulnerable app including a crypto‑jacking example that claims ~4,000 sites were hit recently and demonstrates CSP blocking injected scripts. Covers concrete mitigations like nonce and hash deployment, strict‑dynamic behavior, report‑only migration with reporturi.com, and directives for clickjacking (frame‑ancestors) and HTTPS migration (upgrade‑insecure‑requests). Demos sometimes hiccup but the talk gives actionable header syntax, common bypasses to watch for, and practical notes on rollout and maintenance.

AI-written summary · about

  1. 0:00Start
  2. 0:03CONTENT SECURITY POLICY TO THE RESCUE
  3. 1:03ABOUT ME
  4. 10:01MITIGATIONS
  5. 12:22WHAT IS CSP?
  6. 14:47ADDING THE SECURITY HEADER
  7. 15:13SELF
  8. 16:03CSP DIRECTIVES
  9. 19:00SAMPLE POLICY
  10. 19:52BAD IDEAS
  11. 20:29FIXING INLINE SCRIPTS
  12. 21:19HASH
  13. 23:46STRICT-DYNAMIC
  14. 27:17MITIGATING XSS
  15. 27:59BREAKING STUFF
  16. 28:56REPORTING
  17. 29:48HTTPS MIGRATION
  18. 33:46X-FRAME-OPTIONS
  19. 36:07PREVENTING CLICKJACKING USING CSP
~/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.