What is Two-Factor Authentication? | Glossary

Glossary

What is Two-Factor Authentication?

Two-factor authentication (2FA) asks for a second proof, such as a code from an app or a security key, on top of your password before letting you sign in.

Two-factor authentication, or 2FA, means a login needs two different kinds of proof instead of just a password. Typically that is something you know (the password) plus something you have, like your phone or a hardware key. A thief who steals or guesses the password still cannot get in without the second piece.

The second factors, from weakest to strongest

  • SMS codes: a six-digit code texted to your phone. Better than nothing, but exposed to SIM-swap attacks, where a criminal convinces a carrier to move your number to their SIM.
  • Authenticator apps: Google Authenticator, Microsoft Authenticator, 1Password and similar generate a new code every 30 seconds from a secret shared once via a QR code. This is the TOTP standard, and it works offline.
  • Push approvals: the app asks "Is this you signing in?" Convenient, but people can be tricked into tapping Approve.
  • Passkeys and security keys: a YubiKey or a device passkey proves identity with public-key cryptography tied to the real site's domain, so a lookalike phishing page cannot use it.

Multi-factor authentication (MFA) is the broader term; 2FA is MFA with exactly two factors.

Which accounts a small business should lock down first

Think about which logins would hurt most if taken over. For most owners the list is: the email account (it can reset every other password), the domain registrar, the website or hosting dashboard, the payment processor, and social media pages. A hijacked registrar account lets someone point your domain anywhere, including your email.

A typical setup: an accountant turns on 2FA for Google Workspace using an authenticator app, prints the backup codes and stores them in the office safe, and adds a second hardware key for the business partner.

Should your own website offer 2FA?

For a simple site with no customer logins, no. If you run a client portal or store with accounts, offering it is good practice, and using an auth provider or single sign-on often gives you 2FA without building it.

2FA mistakes that lock people out or let attackers in

  • Losing the phone with no backup codes. Save recovery codes when you enable 2FA, not after.
  • One staff phone holding the company's only codes, so access leaves when that person does.
  • Typing codes into any page that asks. Real-time phishing kits relay codes; check the address first or use passkeys.
  • Leaving SMS as a fallback after setting up an app, which keeps the weaker path open.

Related terms

  • Password hashing: protects the first factor in storage.
  • Single sign-on: one login, often where 2FA is enforced.
  • OAuth: lets apps act for you without your password or code.
  • Malware: can steal session cookies even after 2FA.

Ready to put this into practice?

We.Inc lets you describe a site in chat and watch AI build it live, then refine it visually or in code.

Start Building

Create your website for free, no card needed

Describe your business. Get a website ready to publish.

Ready to simplify everything?

Join 15,000+ businesses that replaced their entire marketing stack with one platform.

create your website for free, no card needed · Talk to sales

Product

Who It's For

Features

Resources

Company

View Sitemap