What Is Two-Factor Authentication (2FA) - Authy
What Is Two-Factor Authentication (2FA) - Authy
- Authy
Luckily, it’s easy for businesses to add an extra level of protection to user
accounts in the form of two-factor authentication, also commonly referred to as
2FA.
————————————————————————————————————————————————-
ARE YOU A DEVELOPER INTERESTED IN ADDING 2FA TO YOUR APPLICATION? SEE TWILIO APIs & TUTORIALS
————————————————————————————————————————————————-
not just user trust that can be damaged. All types of organizations—global
companies, small businesses, start-ups, and even non-profits—can suffer severe
financial and reputational loss.
Clearly, online sites and apps must offer tighter security. And, whenever
possible, consumers should get in the habit of protecting themselves with
something that’s stronger than just a password. For many, that extra level of
security is two-factor authentication.
https://authy.com/what-is-2fa/ 2/9
3/8/22, 2:34 PM What Is Two-Factor Authentication (2FA)? - Authy
How and when did passwords get so vulnerable? Back in 1961, the
Massachusetts Institute of Technology developed the Compatible Time-Sharing
System (CTSS). To make sure everyone had an equal chance to use the
computer, MIT required all students to log in with a secure password. Soon
enough, students figured out that they could hack the system, print out the
passwords, and hog more computer time.
Despite this, and the fact that there are much more secure alternatives,
usernames and passwords remain the most common form of user
authentication. The general rule of thumb is that a password should be
something only you know while being difficult for anyone else to guess. And
while using passwords is better than having no protection at all, they’re not
foolproof. Here’s why:
Humans have lousy memories. A recent report looked at over 1.4 billion
stolen passwords and found that most were embarrassingly simple. Among
the worst are “111111,” “123456,” “123456789,” “qwerty,” and “password.”
While these are easy to remember, any decent hacker could crack these
simple passwords in no time.
Too many accounts: As users get more comfortable with doing everything
online, they open more and more accounts. This eventually creates too many
passwords to remember and paves the way for a dangerous habit: password
recycling. Here’s why hackers love this trend: it takes just seconds for
hacking software to test thousands of stolen sign-in credentials against
popular online banks and shopping sites. If a username and password pair is
recycled, it’s extremely likely it’ll unlock plenty of other lucrative accounts.
Security fatigue sets in: To protect themselves, some consumers try to make
it harder for attackers by creating more complex passwords and
passphrases. But with so many data breaches flooding the dark web with
user information, many just give up and fall back to using weak passwords
across multiple accounts.
https://authy.com/what-is-2fa/ 3/9
3/8/22, 2:34 PM What Is Two-Factor Authentication (2FA)? - Authy
2FA is an extra layer of security used to make sure that people trying to gain
access to an online account are who they say they are. First, a user will enter
their username and a password. Then, instead of immediately gaining access,
they will be required to provide another piece of information. This second factor
could come from one of the following categories:
Something you are: This category is a little more advanced, and might
include biometric pattern of a fingerprint, an iris scan, or a voice print
With 2FA, a potential compromise of just one of these factors won’t unlock the
account. So, even if your password is stolen or your phone is lost, the chances of
a someone else having your second-factor information is highly unlikely. Looking
at it from another angle, if a consumer uses 2FA correctly, websites and apps
can be more confident of the user’s identity, and unlock the account.
https://authy.com/what-is-2fa/ 4/9
3/8/22, 2:34 PM What Is Two-Factor Authentication (2FA)? - Authy
If a site you use only requires a password to get in and doesn’t offer 2FA, there’s
a good chance that it will be eventually be hacked. That doesn’t mean that all
2FA is the same. Several types of two-factor authentication are in use today;
some may be stronger or more complex than others, but all offer better
protection than passwords alone. Let’s look at the most common forms of 2FA.
Probably the oldest form of 2FA, hardware tokens are small, like a key fob, and
produce a new numeric code every 30-seconds. When a user tries to access an
account, they glance at the device and enter the displayed 2FA code back into
the site or app. Other versions of hardware tokens automatically transfer the
2FA code when plugged into a computer’s USB port.
https://authy.com/what-is-2fa/ 5/9
3/8/22, 2:34 PM What Is Two-Factor Authentication (2FA)? - Authy
They’ve got several downsides, however. For businesses, distributing these units
is costly. And users find their size makes them easy to lose or misplace. Most
importantly, they are not entirely safe from being hacked.
For a low-risk online activity, authentication by text or voice may be all you
need. But for websites that store your personal information — like utility
companies, banks, or email accounts — this level of 2FA may not be secure
enough. In fact, SMS is considered to be the least secure way to authenticate
users. Because of this, many companies are upgrading their security by moving
beyond SMS-based 2FA.
First, a user must download and install a free 2FA app on their smartphone or
desktop. They can then use the app with any site that supports this type of
authentication. At sign-in, the user first enters a username and password, and
then, when prompted, they enter the code shown on the app. Like hardware
tokens, the soft-token is typically valid for less than a minute. And because the
code is generated and displayed on the same device, soft-tokens remove the
chance of hacker interception. That’s a big concern with SMS or voice delivery
methods.
https://authy.com/what-is-2fa/ 6/9
3/8/22, 2:34 PM What Is Two-Factor Authentication (2FA)? - Authy
Best of all, since app-based 2FA solutions are available for mobile, wearables, or
desktop platforms — and even work offline — user authentication is possible
just about everywhere.
Rather than relying on the receipt and entry of a 2FA token, websites and apps
can now send the user a push notification that an authentication attempt is
taking place. The device owner simply views the details and can approve or deny
access with a single touch. It’s passwordless authentication with no codes to
enter, and no additional interaction required.
By having a direct and secure connection between the retailer, the 2FA service,
and the device, push notification eliminates any opportunity for phishing, man-
in-the-middle attacks, or unauthorized access. But it only works with an
internet-connected device, one that’s able to install apps to. Also, in areas
where smartphone penetration is low, or where the internet is unreliable, SMS-
based 2FA may be a preferred fall-back. But where it is an option, push
notifications provide a more user-friendly, more secure form of security.
Biometric 2FA, authentication that treats the user as the token, is just around
the corner. Recent innovations include verifying a person’s identity
via fingerprints, retina patterns, and facial recognition. Ambient noise, pulse,
typing patterns, and vocal prints are also being explored. It’s only a matter of
time before one of these 2FA methods takes off…and for biometric hackers to
figure out how to exploit them.
https://authy.com/what-is-2fa/ 7/9
3/8/22, 2:34 PM What Is Two-Factor Authentication (2FA)? - Authy
Consumers: Don’t know if your favorite sites or apps have 2FA? Visit
TwoFactorAuth.org to find out. Or visit the following links to learn more:
https://authy.com/what-is-2fa/ 8/9
3/8/22, 2:34 PM What Is Two-Factor Authentication (2FA)? - Authy
Businesses: Rather than building 2FA themselves, many businesses find that it’s
smarter and more cost-effective to partner with an expert. Twilio offers a
comprehensive suite of developer-friendly authentication APIs and an SDK that
can turn any app into a self-branded authenticator. Check out these useful links
for businesses and developers:
Cross-Industry Security: 4 Brands Getting 2FA Right
https://authy.com/what-is-2fa/ 9/9