Velosyti

Two-step login for staff apps: when a password is not enough

A password alone no longer protects a staff app that holds citizen, patient, student or customer data. Here is how to add a second step without making daily work painful.

· 3 min read · For owners, heads of office and IT in-charges who run apps for their staff

Your staff app holds names, phone numbers, payments or case files. It is protected by a password. Somewhere in your office that password is on a sticky note, shared on WhatsApp with a new joiner, or reused from a leaked personal account. One guessed or leaked password and an outsider is inside, looking like a trusted employee.

What two-step login is

Two-step login, also called two-factor or multi-factor authentication, asks for something extra after the password. Usually it is a six-digit code that changes every 30 seconds, shown in an authenticator app on the person's phone, or sent by SMS. A stolen password alone is then not enough. The attacker also needs the phone.

Who should have it first

Start where the damage would be worst.

  • Anyone who can see or export a full list of citizens, patients, students or customers.
  • Anyone who approves payments, refunds, salary or purchase orders.
  • Administrators who can create users or change what others can see.
  • Staff who log in from outside the office, from home or from the field.

SMS code or app code

SMS codes are familiar because banks use them. But they depend on the network, arrive late in poor-signal areas, and can be hijacked through a SIM swap. The OWASP guidance for developers and the US standards body NIST both treat SMS as the weaker option and recommend app-based codes or hardware keys where possible.

A practical middle path for most offices: app codes by default, with SMS as a fallback for staff who do not have a smartphone or whose phone is lost.

How to roll it out without complaints

  • Ask for the second step once per device, not on every login. A phone or office computer the person used yesterday can be trusted for 30 days. Ask again on a new device or after a long gap.
  • Give a clear way to recover. The most common support call will be "I changed my phone". The admin should be able to reset a person's second step after checking their identity, and that reset should be logged.
  • Switch it on department by department, with a ten-minute demo in the morning meeting.
  • Log every login: who, when, from which device. This is the record you will need when something goes wrong.

Questions to ask any vendor

  • Does the app support authenticator apps that follow the open time-based code standard, so staff can use any such app, not only yours?
  • Can the admin require two-step login for some roles and leave it optional for others?
  • What happens when a person loses their phone? Who can reset it, and is that reset recorded?
  • Are login attempts rate-limited, so a code cannot be guessed by trying all one million combinations?

How we can help

Every staff app we build has two-step login that an admin can switch on per role, device trust for 30 days, a logged reset flow, and support for standard authenticator apps. We can also add it to an app you already run. See our services for how we work with existing systems. If you want to know which of your staff should get it first, talk to us.

References

  1. OWASP: Multifactor authentication cheat sheet
  2. NIST SP 800-63B: Digital identity guidelines, authentication
  3. RFC 6238: Time-based one-time password algorithm