liveBook · Manning

Two-factor authentication

As explained in Architecting Accessibility

Two-factor authentication is an authentication method that requires evidence from two distinct factor categories to verify a user's identity.

Two-factor authentication (2FA) verifies identity with evidence from two distinct categories: something you know, have, or are. It can reduce the risk of account access if a password is stolen. section 7.6

Check that the method uses distinct factors and that users can complete it accessibly:

  • A password and a passphrase are both something you know, so they do not make two factors. Pair something you know with something you have instead. section 7.6
  • A CAPTCHA or proof-of-work challenge does not prove identity and cannot count as an additional factor. section 7.6
  • Make the authentication path accessible without depending on a particular technology or on users’ sensory, physical, or cognitive abilities. Offer alternatives and a way back in if users are locked out. section 7.9

Password plus SMS code

A password on a laptop and a one-time code sent to a registered mobile number are two distinct factors. But if users must read the code on another device, remember it, switch devices, and type it in, the process can impose cognitive and physical effort. Consider whether users have an accessible way to complete authentication. section 7.6

How Architecting Accessibility covers it

How deep it goes
Defines factor categories, distinguishes valid combinations from invalid ones, and considers accessibility barriers in code entry.
Examples
Uses a password plus an SMS code, contrasts a password plus passphrase, and names knowledge, possession, and biometric factors.
What you can do after
Evaluate whether authentication uses distinct factors and offers an accessible path for users with different needs.
How it connects
Connects authentication to multi-factor authentication, CAPTCHA, account recovery, and one-time codes.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Architecting Accessibility. The section links point to the parts of the book it draws on.