~/talk

Pushing CSP to PROD

Talkat AppSecUSA 2013 · 2013-11-20..11-21· [security, web-platform]
links:none on file
links:none on file
slides:none on file

Case study of deploying a strict CSP on SendSafely.com: team sets default-src 'none', moves all JS to static.sendsafely.com, strips inline handlers to event listeners and data-attributes, hosts jQuery locally and negotiates reCAPTCHA changes with Google. Built a violation reporting endpoint and servlet filter for browser-specific headers; reports flood in from extensions (LastPass/analytics), creating surprising noise. CSP reduces XSS risk in practice but hits quirks: web workers require same origin, Java applet bypass in browsers, and reporting formats vary by browser.

AI-written summary · about

  1. 0:00Start
  2. 3:22Browser Support for CSP
  3. 6:58About the Application
  4. 13:15Eliminating In-line Scripting (Example #2)
  5. 16:09Working with Third Party Scripts . We try to minimize reliance on third party scripts - Occasionally the cost/benefit is worth using them
  6. 19:20Refactoring reCAPTCHA (Example #1)
  7. 33:48Example CSP Error Report
  8. 35:55Real CSP Error Report from Production
  9. 37:48The (big) problem with False Positives
  10. 43:26Maximizing Browser Coverage
  11. 46:52Other Notable Differences • Safari posts CSP Error Reports
~/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.