Skip to content
Levitsky Concept
Initializing systems000%
Левицкий Концепт
All articles
Security

Two-factor authentication: why and how to roll it out

May 29, 2026· 7 min read

Password leaks happen constantly, and your system is rarely to blame: an employee used a work password on some outside forum, the forum was breached, and the database ended up in the open. What follows is automated stuffing across every known service. A second factor turns a stolen password from a key into a useless string of characters.

What a second factor gives you in practice

Credential stuffing attacks are the most widespread way corporate accounts get compromised. What defines them is that they are fully automated: the attacker does not pick a victim, they run millions of login-password pairs against dozens of services. Enabling a second factor breaks that chain entirely, because automation cannot get past a confirmation step. It is the cheapest security measure in existence: zero roubles for the app and one evening of setup.

Methods, from weakest to strongest

  • An SMS code — better than nothing, but vulnerable to SIM swapping. Not suitable for financial access or admin panels.
  • Push confirmation in an app — convenient, but vulnerable to "prompt fatigue", where the user taps "Allow" on autopilot.
  • TOTP codes in an authenticator app — the gold standard for cost versus reliability. Works offline and does not depend on the mobile operator.
  • Hardware keys following the FIDO2 standard — the only method resistant to phishing: the key checks the domain and will not sign for a fake site.
  • Backup one-time codes — a mandatory addition to any of the above, otherwise a lost phone becomes lost access.

Where to enable it first

Set priorities by the consequences of a breach, not by convenience: corporate email first (every other password is reset through it), then the hosting panel and domain registrar, the code repository, payment and banking services, the site admin area and the CRM holding your customer database. A common mistake is protecting the accounting system and forgetting the administrator's mailbox, even though email is the universal key to everything else.

The technical side of rollout

In your own application TOTP takes a library and a few hours of work: generating the secret, a QR code for enrolment, and code verification with a one-window tolerance for clock drift. The details often missed: the secret is stored encrypted, backup codes are stored only as hashes, and after successful enrolment all of the user's active sessions are terminated. For web authentication with hardware keys there is a standard browser API, documented in detail on MDN. We build 2FA into the baseline configuration when developing SaaS products.

How to roll it out without resistance

  • Start with the IT team and management — if senior leadership has not enabled 2FA, everyone else treats the requirement as a formality.
  • Give people a two-week voluntary period with a one-page guide and screenshots.
  • Define the access recovery procedure in advance: who verifies the employee's identity and how quickly.
  • Do not demand a second factor on every login — trusting a device for 30 days removes 95% of the irritation.
  • After the deadline, enforce it through policy rather than persuasion.

Common objections and answers

"My phone died" — that is what backup codes are for, printed out and kept in a safe. "It takes too long" — enrolment takes two minutes once, and entering a code takes about five seconds and only on a new device. "We have nothing worth stealing" — a customer database of 5,000 contacts fetches very real money on the black market, and leaking it under 152-FZ costs the company millions in fines. If you need help implementing this in an existing system, tell us about your setup; integration usually takes three days or more.

Need help with a project?

Let's discuss your task and propose a solution — from a website to SaaS and security.

Get in touch