Make your cloud safer: How you can use two-factor authentication to protect cloud services

cloud-security
 
Two-factor authentication is no longer an optional feature. If you use modern cloud services, this extra layer of security can dramatically reduce the risk of a hostile takeover. Here's how to get started.

 

How much are your private communications worth? How about your reputation? Your bank account?  Your  identity?

These days, unless you go to extraordinary lengths, nearly every piece of your personal and professional life goes through a cloud service. The risk of having important cloud credentials compromised is too great to rely on protecting them with nothing more than a password.

2fa-setup

An attacker who can get access to an important cloud service, especially e-mail, can commit espionage or sabotage, or he can just wreak havoc.

The solution is to turn on two-factor authentication (2FA) for every crucial cloud service you use, especially those that are tied to business accounts.

With 2FA enabled for a cloud service, any attempt to sign in on an unrecognized device requires that you enter a secret code, received as a text message or generated by an authenticator app on your previously registered smartphone. You can choose from multiple authenticator apps, which all follow an open standard for generating time-based one-time passwords.

Some services let you choose which technique you want to use for 2FA.

To begin using 2FA, you have to enable the feature on the service you want to protect. Then you have to associate your account with a trusted device. You can do that by adding a mobile phone number to your account, receiving a one-time password from the service using a text message, and then entering that code at the website to confirm that the device is yours and can be trusted.

For many (but not all) services that offer 2FA, you can also use an authenticator app, which pairs your device (typically a smartphone) with a web service. The setup usually requires scanning a barcode (after signing into your account, of course) or entering a lengthy encryption key.

2fa-app-setup-barcode

Scanning this barcode sets up a smartphone app as a trusted device.

I prefer using an authenticator app to avoid situations where I have network access but can't receive a text message because of a poor cellular signal. In fact, I have multiple authenticator apps on my smartphone, all neatly organized into their own folder.

2fa-app-icons

Authenticator apps are available for every platform.

With that setup out of the way, here's how 2FA protection works:

Step 1: After you enter your username and password correctly, the web service prompts you for additional proof of your identity.

<

When you sign in from an unrecognized device, you need to provide a second proof of identity.

2fa-gmail-prompt-for-code

This screenshot is from Gmail, but other services use similar prompts.

Because you are signing in on a device that has not previously been used with the service, you're required to provide additional proof in the form of a code.

If you're a thief using stolen or phished credentials, you're out of luck at this point, because you have no way of retrieving that code. But you have no such problem establishing that this is a legitimate sign-in. You whip out your smartphone.

Step 2. Receive a 2FA code via text message, or open your smartphone app to view the current code.

2fa-get-auth-codes

A single authenticator app can handle multiple accounts, and yes, you can use Google's app with your Microsoft account.

Each code is generated based on the shared secret and the current time, and it's only good for a brief interval (usually long enough to account for any normal delay in receiving text messages, but no more than a few minutes). Because you have the trusted device in hand, you are able to respond to the challenge immediately.

Step 3. You're in!

Depending on the service, entering a code might automatically establish the current device as trusted, or you might be given the option to trust the current device. If this is your new computer or tablet (or a new browser), and you have this option you should say yes.

 

No Comments Yet.

Leave a comment

%d bloggers like this: