Yubico Forum

Implementation with an ASP Site
Page 1 of 1

Author:  medcalf [ Mon Jul 07, 2008 3:37 pm ]
Post subject:  Implementation with an ASP Site

Hi, Can anyone give me advice on how I can use Yubikeys with a pure old fashioned ASP site. Some code examples would be ideal or some sort of guide to wher I might look to find the code.


Steve Medcalf

Author:  paul [ Tue Jul 08, 2008 11:49 pm ]
Post subject:  Re: Implementation with an ASP Site

The simplest way to integrate Yubikey to use for logging in to your web site is to modify your login page and have your web server backend login code to use Yubikey client SDK to call the OTP validation server to vadliate the OTP.

* * * The OTP Authentication Work Flow * * *

Yubikey ---> Generates OTP --> Browser --->

Modify your web site's login page to add a text field that allows the user to enter the Yubikey OTP --->

Modify your web site back-end login processing code ---> Call the Yubikey client SDK --->

Yubikey client SDK calls the OTP validation server (by default it calls http://api.yubico.com
or you can download & host the validation server on your own) --->

Validation server responds w/ OTP validation success or failure. --->

Then you either accept or reject the user login

* * *

For a .NET site, use the .NET Yubikey client SDK:


For an ASP site, you may want to compile the C implementation of Yubikey client SDK:


Other client SDKs:


Yubikey OTP authentication server:

Available for your use at: http://api.yubico.com


Author:  medcalf [ Fri Jul 18, 2008 5:15 pm ]
Post subject:  Re: Implementation with an ASP Site


I have read all of the text files in both C and Java and am nowhere further on. I need an example of what happens in an Intranet situation of how the SDK tests the key code, i'e how do I embed the test in the page to which the code is fired??


Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group