How to replicate Apache custom two-factor authentication on IIS? -


i've set small test server custom two-factor authentication on apache, using mechanism similar this:

in <virtualhost> file (of course, there lots of other settings!):

<location /2factor>     perlaccesshandler apache::ticketaccess     errordocument     403 /perl/login.pl </location> 

so, when try access file in /2factor directory redirected login script verify user, password , totp google authenticator, if appropriate cookie not present. works both browser , smartphone app.

i've been asked move code iis, example code see uses either browser's built-in authentication or ldap-based solutions. how should approach this? i'm not wedded perl; c#-based method acceptable.

note, test environment iis 5.1 , xp.


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -