~/talk

Will it inject? A look at SQL injection and ActiveRecord

Talkat RubyConf Colombia 2016 · 2016-09-02..09-03· [ruby, security]
slides:none on file

Explains how ActiveRecord methods differ in SQL injection risk and gives concrete defenses and examples. Shows that find only accepts integers, find_by escapes hashes, but methods that accept SQL fragments like where, group and having accept raw SQL and can be exploited unless rewritten with parameterized queries using ? placeholders. Notes MySQL and Postgres adapters usually enforce safety, demos building small ORMs to learn pitfalls, and cites massive breaches (Sony ~1M, Russian group ~1.2B, VTech 5M) to show impact.

AI-written summary · about

  1. 0:00Start
  2. 8:39Sony Pictures
  3. 8:54Major Universities
  4. 10:32Utech
  5. 25:23Thank you! Jessica Rudder
~/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.