Click here to Skip to main content
12,702,455 members (32,126 online)
Click here to Skip to main content

Stats

222.5K views
6.7K downloads
171 bookmarked
Posted

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

, 21 Aug 2013 MIT
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 8:09 Available Smitha Nishant
Updates in content. Changes: 2
20 No 21-Aug-13 7:52 Pending Rick Bassham
Minor change to fix extra character in text.
19 No 23-Oct-12 0:52 Available Smitha Nishant
Updates in content. 12 changes had been made.
18 No 23-Oct-12 0:11 Pending Rick Bassham
Updates in content. 251 changes had been made.
15 No 11-Sep-12 6:29 Available Smitha Nishant
Updates in content.
14 No 11-Sep-12 6:26 Pending Rick Bassham
Fixed bug in uploaded files. Added unit test.
13 No 11-Sep-12 5:42 Available Smitha Nishant
Updates in content.
12 No 11-Sep-12 5:36 Pending Rick Bassham
Added link to github project.
11 No 11-Sep-12 5: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 5:00 Available Smitha Nishant
Updates in content.
9 No 13-Aug-12 4:47 Pending Rick Bassham
Updates in content. 368 changes had been made.
8 No 31-Jul-12 23:33 Available Sean Ewington
Updates in content.
7 No 31-Jul-12 23: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 2:57 Available Smitha Nishant
Updates in content.
5 No 10-Jul-12 2:15 Pending Rick Bassham
Updated title
4 No 15-Jun-12 0:30 Available Smitha Nishant
Updates in content.
3 No 15-Jun-12 0: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 13-Jun-12 23:46 Pending Rick Bassham
Added screenshots of the web app and Google Authenticator
1 No 13-Jun-12 6: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...

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