~/talk

Will It Inject? A Look at SQL injections and ActiveRecord

Talkat RailsConf 2016 · 2016-05-04..05-06· [security]
slides:none on file

Clear walkthrough of which ActiveRecord calls are safe and which bite back: find and find_by treat inputs as integers or escaped strings, while raw fragments like where(name: user) or group and having can be exploited. Demonstrations show using parameterized queries (the ? placeholder), sanitization via sanitization.rb and quoting.rb, and the game-like testing of examples. Cited breaches (1.2 billion credentials, VTech’s 5M parents / 200k children) underscore why the fixes actually matter.

AI-written summary · about

  1. 0:00Start
  2. 2:32Safety and Security in the em Coffee Shop Line
  3. 5:08Google
  4. 5:31FIRE 4CID
  5. 9:05OWASP Open Web Application Security Project
  6. 15:32FLATIRON SCHOOL
  7. 16:18SELECT * FROM Restaurant WHERE Type = "bbq"
  8. 16:59Will it Inject? A look at SQL injection and active record
  9. 19:39type: "burnt ends", dads_rating: 5
  10. 20:57Barbecue.where('name = Oklahoma Joes'')
  11. 30:46OWASP Ruby on Rails Cheat Sheet your own code
  12. 31:32Comp Chomp
~/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.