~/talk

Writing an (in)secure webapp

Talkat JSConf US 2011 · 2011-05-02..05-03· [security]
slides:none on file

Shows concrete failures: hash‑bang URLs let attackers build cross‑domain payloads that succeed when servers return Access-Control-Allow-Origin: , a live demo first fails then executes an alert in the app context, templating libraries still allow XSS because output encoding must be context‑specific (quote greater than less than single‑quote ampersand), recommends Content Security Policy (Firefox 4 feature) to block inline/remote scripts, warns about CSRF via GET delete endpoints, recommends X-Frame-Options* and HTTPOnly/secure cookies.

AI-written summary · about

  1. 0:00Intro
  2. 0:27insecure webapps
  3. 0:46Introduction
  4. 1:52Stuff to talk about
  5. 2:35Writing Insecure Apps
  6. 3:15Why is it so easy?
  7. 6:08# navigation
  8. 9:34Cross-Site Scripting
  9. 9:59Context Matters
  10. 12:20Content Security Policy
  11. 14:36Other Crap That Matters
~/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.