~/talk

Building a Resilient MFA Framework: Strategies and Best Practices

Talkat RubyConf India 2023 · 2023-08-26..08-27· [security, ruby-on-rails]
slides:none on file

Proposes a concrete Rails design that separates credentials into factor and identity tables, letting login vs verification be distinct phases and adding new methods without conditional hell. Implements strategies for email (magic link or OTP), SMS (OTP or voice), and authenticator apps using the Ruby OTP library, and experiments with webauthn/FIDO limitations for device-bound factors. Costs: three tables and extra complexity, gains: easy addition of third+ factors and per-factor UX; device-bound biometrics remain tricky to reuse across machines.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:07What is MFA and why it matters
  3. 3:12Problems with traditional MFA
  4. 6:26Designing a flexible MFA framework
  5. 9:17Authentication flow implementation
  6. 11:01Triggering MFA conditions
  7. 12:46Advantages of the new approach
  8. 13:30Limitations and edge cases
  9. 14:33Extending verification strategies
  10. 16:17Key takeaways and summary
  11. 17:00Q&A session
~/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.