~/talk

Little Bobby Tables: Understanding Data Validation and Sanitization

Talkat Commit Your Code 2025 · 2025-09-25..09-26· [security]
links:none on file
slides:none on file

Explains that missing validation and sanitization lets user input become executable SQL and shows the classic drop table students SQL‑injection string as a concrete failure mode, then gives concrete defenses: allow-listing over deny lists, sanitize again at every trust barrier, normalize/escape or encode rather than destructively strip, use established libraries (mentions DOMPurify) and OWASP cheat sheets, and restrict DB privileges so administrative statements cannot run from ordinary app queries.

AI-written summary · about

  1. 0:00Introduction
  2. 3:49Bobby Tables XKCD comic
  3. 5:39SQL injection breakdown
  4. 9:49SQL injection risks
  5. 11:12Validation vs sanitization
  6. 14:39Allow vs deny listing
  7. 17:06Sanitization methods
  8. 20:56Sanitizing trust barriers
  9. 22:19Tools and best practices
~/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.