~/talk

The Final Frontier: Security APIs in Modern Browsers

Talkat NDC Oslo 2024 · 2024-06-10..06-14· [web-platform, security]
github:wenz
slides:none on file

Demo web app shows how Content-Security-Policy blocks inline scripts and styles, forces use of nonces or hashes to re-enable legacy inline code, and surfaces violations via report-uri; a setInterval string triggers unsafe-eval problems until code is refactored or nonces/hashes are applied. Chromium-only Trusted Types plus DOMPurify sanitization is used to safely assign innerHTML. Subresource Integrity with sha512 and sha384 for CDN scripts, HTTPOnly/Secure/SameSite cookies, HSTS preload and Clear-Site-Data are shown working; XSS CVEs run near 6,000 this year.

AI-written summary · about

  1. 0:00Introduction to browser security
  2. 1:36Understanding XSS and SOP
  3. 5:19Content security policy basics
  4. 10:14Implementing CSP in web apps
  5. 13:32Solving CSP inline code issues
  6. 18:01CSP for legacy systems
  7. 22:47CSP reporting and monitoring
  8. 28:40Trusted types and subresource integrity
  9. 34:24Securing cookies
  10. 39:01Strict transport security
  11. 41:56CSRF and same-site cookies
  12. 47:21Clickjacking and data leakage
  13. 52:13Modern policy features and conclusion
~/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.