How to Implement 2-Step Verification in ASP.NET MVC
page 10 of 12
by Keyvan Nayyeri
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 70574/ 84

Test

Testing this simple ASP.NET MVC application, you can enter the user credentials (Figure 1).

Figure 1: Log On form

If your information is correct, you’ll see a textbox appeared asking you for a verification code to enter. At the same time, code is generated and set to the mobile number of the user (Figure 2).

Figure 2: Text message received

You receive the number and can enter that to verify the user (Figure 3).

Figure 3: Enter verification code

And you’ll be signed into the site! Next time, if you visit the page with the same IP address and browser, you will automatically log in without dealing with the verification code.


View Entire Article

User Comments

Title: No source code?   
Name: Larry Q
Date: 2011-12-07 10:39:10 AM
Comment:
Hi everyone,

I enjoyed Keyvan's article very much, however the source code link doesn't work. Is it possible to get the source from another location? Many thanks for writing this article, before I forget.

-Larry






Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-04-24 5:51:56 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search