Click here to Skip to main content
11,708,116 members (76,707 online)
Click here to Skip to main content
Add your own
alternative version

Implementing Two Factor Authentication in ASP.NET MVC with Google Authenticator

, 21 Aug 2013 MIT 170.5K 5.4K 156
How to add extra security to your MVC web application, using two factor authentication.

Revisions


  

Compare Revision Minor Date Status Editor
21 - publicly available No 21-Aug-13 18:09 Available Smitha Vijayan
Updates in content. Changes: 2
20 No 21-Aug-13 17:52 Pending Rick Bassham
Minor change to fix extra character in text.
19 No 23-Oct-12 10:52 Available Smitha Vijayan
Updates in content. 12 changes had been made.
18 No 23-Oct-12 10:11 Pending Rick Bassham
Updates in content. 251 changes had been made.
15 No 11-Sep-12 16:29 Available Smitha Vijayan
Updates in content.
14 No 11-Sep-12 16:26 Pending Rick Bassham
Fixed bug in uploaded files. Added unit test.
13 No 11-Sep-12 15:42 Available Smitha Vijayan
Updates in content.
12 No 11-Sep-12 15:36 Pending Rick Bassham
Added link to github project.
11 No 11-Sep-12 15:34 Pending Rick Bassham
Updated to add a time delay between login attempts for a given user. This helps mitigate the chance of a brute force attack when the attacker knows the password. Updated to generate the QR code direct
10 No 13-Aug-12 15:00 Available Smitha Vijayan
Updates in content.
9 No 13-Aug-12 14:47 Pending Rick Bassham
Updates in content. 368 changes had been made.
8 No 1-Aug-12 9:33 Available Sean Ewington
Updates in content.
7 No 1-Aug-12 9:30 Pending Rick Bassham
Added a comment clearing up that no data goes through Google as part of the authentication process.
6 No 10-Jul-12 12:57 Available Smitha Vijayan
Updates in content.
5 No 10-Jul-12 12:15 Pending Rick Bassham
Updated title
4 No 15-Jun-12 10:30 Available Smitha Vijayan
Updates in content.
3 No 15-Jun-12 10:18 Pending Rick Bassham
Added links to some introductions on bit shift operators. Should be helpful for people who aren't familiar with <<.
2 No 14-Jun-12 9:46 Pending Rick Bassham
Added screenshots of the web app and Google Authenticator
1 No 13-Jun-12 16:13 Pending Rick Bassham
Initial creation

License

This article, along with any associated source code and files, is licensed under The MIT License

Share

About the Author

Rick Bassham
Software Developer (Senior)
United States United States
I have been a software developer since 2005, focusing on .Net applications with MS SQL backends, and recently, C++ applications in Linux, Mac OS X, and Windows.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150819.1 | Last Updated 21 Aug 2013
Article Copyright 2012 by Rick Bassham
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid