CloudFlare Two-factor Authentication (Authy)


I have been using CloudFlare service to protect and speed up my production sites. It helps you protect against DDos, Malware infection, Free CDN. if you haven’t heard about them, time to do a little googling. CloudFlare has finally introduced two factor authentication using a new startup company called Authy. It currently supports smart phones iPhone, and Android. Here is how I setup Two-factor Authentication on my account.

My Accounts

To turn two-factor authentication on, you simply log into your CloudFlare account, navigate to “My account” and select “2-factor authentication”

My Account

2-factor authentication

Once there, you will enter your mobile phone,password information and click Enable 2-factor authentication

 text message

You will then receive a text message. The text message includes a link to download the Authy app. The Authy app will ask you to enter your your mobile phone number. It will then text you a setup pin that you need to enter into the Authy app.

Once you have enabled your Authy account. find CloudFlare in your app.

Enter Authentication token

Enter Cloudflare token in your setup. The Authy app will then be authorized and able to generate authentication tokens unique to your account. 

enable 2 factor Auth

When you login to CloudFlare for the first time after enabling two-factor authentication, you will need to launch the Authy app on your phone. It will generate a unique, 7-digit authentication token. The authentication token is good for 30 seconds and then will change to a new token.

You can store your authentication for 14 days. If you login from an unrecognized device, or after your authentication expires, you’ll need to open the Authy app and get your new authentication token for that device. The Authy app does not rely on you having network access, so you can retrieve your code even if your phone is not connected to the Internet.

If you ever your your phone or get a new one you can reassociate your account by following the reset instructions on Authy’s website.

(Source: blog.cloudflare.com)


Wednesday, November 28th, 2012