~/talk

CORS, XSS, CSRF, SQL injection #BackToTheBasics

TalkinFrenchat DevFest Paris 2019 · on Friday, 2019-02-08· [security]
slides:none on file

Describes web security basics: CORS enforces origin+port+scheme and uses OPTIONS preflight with Access-Control headers, and misconfigured servers or tools like curl/proxies can bypass naive checks. Shows XSS caused by rendering URL parameters with React’s dangerouslySetInnerHTML and recommends Content-Security-Policy to restrict external scripts. Defines CSRF as forged requests mitigated by per-request tokens, and demonstrates SQL injection via a newsletter form, advocating use of prepared statements.

AI-written summary · about

  1. 0:00Web security basics
  2. 1:12Security in development
  3. 2:58CORS mechanism
  4. 4:49Optimizing CORS preflight
  5. 7:59XSS risks
  6. 10:16XSS with React
  7. 12:28Preventing XSS with CSP
  8. 13:37CSRF mechanism and risks
  9. 15:31SQL injection risks
  10. 17:19Preventing SQL injection
~/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.