~/talk

Rails Application Security in Practice

Talkat Ruby Midwest 2013 · 2013-04-05..04-06· [ruby, security]
slides:none on file

Covers concrete risks and mitigations: session hijacking fixed by force SSL everywhere, cookie secure and HttpOnly flags and strict-transport-security; password storage moves from SHA1 to bcrypt or scrypt because 2009 rigs compute 3 billion SHA-1s/sec; use Rails strong parameters to prevent mass assignment, protect_from_forgery for CSRF, avoid unsafe ActiveRecord calls like pluck/calculate that allow SQL injection, sanitize attributes to stop XSS (watch link_to hrefs), and run Brakeman (or Code Climate security monitor) for static checks.

AI-written summary · about

  1. 0:00Introduction
  2. 0:42Security Issues
  3. 2:10Overview
  4. 3:20Session Hijacking
  5. 4:37Countermeasures
  6. 8:16Brute Force Attacks
  7. 12:24Insecure Direct Object Reference
  8. 16:07Mass Assignment
  9. 19:35Crosssite request forgery
  10. 22:07Rails sequel injection
  11. 25:17Crosssite scripting
~/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.