News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

NetTuts.com:
Integrating Two-Factor Authentication with CodeIgniter
June 27, 2011 @ 09:31:05

On NetTuts.com today they have a new tutorial showing you how to use two-factor authentication in your CodeIgniter-based application - a login process combining a username/password and access to a device that's authorized for the account.

Two-factor authentication is a way of proving your identity based on your username and password as well as a physical device that you can carry with you. This makes it much harder for crooks to steal your identity, since they will need access to your phone or hardware token - not just your login credentials.

They've chosen the free service offered by Duo Security that lets you approve the device in several ways including a phone call, SMS tokens and push-based authentication. They walk you through the setup of a Duo account, making an "Integration", grabbing the PHP and Javascript files needed to make it work and changing up your user and administration module to send a bcrypted value to the service. They flesh it out with a new version of the view to include the Duo code and generating the signed request.

0 comments voice your opinion now!
twofactor authentication codeigniter tutorial login duosecurity


blog comments powered by Disqus

Similar Posts

PHPMaster.com: In My Language, Please! - Translating WordPress Themes and Plugins

Justin Carmony's Blog: PHP Workers with Redis & Solo

Mindloop Blog: Htmlpurifier and the CodeIgniter framework

Benjamin Eberlei's Blog: Testing Database Locks with PHPUnit and Gearman

PHP-GTK Community Site: Code completion for PHP-GTK in Zend Studio 5.5


Community Events

Don't see your event here?
Let us know!


language introduction opinion development unittest wordpress feature library podcast laravel5 laravel release series voicesoftheelephpant api community threedevsandamaybe interview extension framework

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework