2 steps authentication!

Google 2 step authentication has a pam module:

So, theoretically, it could be implemented into nginx. What do you think
about it?

My goal is to have 2 step auth, somehow, on some dir of my web server
(some directory also has static content, so it isn’t a php script i can
edit)

I think that it would be interesting. Many thanks!

Posted at Nginx Forum:

On 21 Nov 2011 12h01 WET, [email protected] wrote:

Google 2 step authentication has a pam module:

GitHub - google/google-authenticator: Open source version of Google Authenticator (except the Android app)

You can implement 2 factor authentication on Nginx using the
auth_request module:

http://mdounin.ru/hg/ngx_http_auth_request_module/file/a29d74804ff1/README

— appa