~/talk

Defending Your Rails App

Talkat Brighton Ruby 2025 · on Thursday, 2025-06-19· [ruby, security]
links:none on file
slides:none on file

Practical recipe for stopping bots, scams and fraud inside a legacy Rails app: use Rack::Attack middleware for throttles (examples: 100 requests/15s for general API, 10 logins/min, 100 invoice creations/20h), annotate requests for Kibana logs, flag accounts as suspicious to slow them further, safe-list internal tokens, and ban IPs from an admin panel without deploy. Tie Stripe webhooks and Stripe Radar risk scores into alerts, send Slack notifications for spikes, and put Cloudflare at the edge for large DDoS protection.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 2:34What is a bad actor
  3. 7:13Defense layers overview
  4. 10:25Rails layer protection
  5. 11:06Rack Attack tool explained
  6. 14:59Abuse techniques and mitigations
  7. 15:21General abuse and rate limits
  8. 18:10Credential stuffing prevention
  9. 21:00Sign up spam defense
  10. 23:10Business logic abuse
  11. 28:31Fraudsters and credit card testing
  12. 30:21DDoS attack handling
  13. 31:03Q&A and closing remarks
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.