📁 Sangam Dhakal - Portfolio v2.0 - Netscape Navigator 4.0
_
□
×

📚 Interview question

How would you design account recovery for users who lose the device holding their only passkey, without creating a phishing path around MFA?

Mid-Level Theory Intermediate

🎯 Key points

  • Two or more credentials per user
  • Hashed one-time recovery codes
  • Identity re-verification proportionate to risk
  • Notifications and cool-off period before sensitive actions
  • Email alone never removes MFA for admins
  • Log and alert on recovery events

⏱ 30-second answer

Prevent the problem first: prompt users to register two credentials (a synced passkey plus a second device or security key) and issue one-time recovery codes stored hashed. Then treat recovery as a high-risk event: require a recovery code, or identity re-verification proportionate to the account (for example a document check or a video call with support for administrators), plus risk signals such as a known device, IP history and account age. Notify the user on every channel, apply a cool-off period (for example 24–72 hours before the new credential can change payout details or export data), and log and alert on recovery events. Never let email alone remove MFA for privileged users; that turns a mailbox takeover into an account takeover.

🔍 What the interviewer is checking

Checks they know recovery is the weakest link

↩ Usually asked after

More in Authentication

Last updated 23 Nov 2026.

🌐 Sangam's Webring

⏪ Previous 🏠 Main Next ⏩
💬 Chat with me