CodeIgniter Forums
HMAC login - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forum-22.html)
+--- Thread: HMAC login (/thread-2473.html)



HMAC login - El Forum - 08-07-2007

[eluser]brandonrichards[/eluser]
I'm kinda new to MVC and its been a long time since i've 'written' php, but here is an HMAC login I created awhile back if anyone wants it or would like to comment on it.

Add the sql to your ci_session table (if you have one)

The username and password are : admin / password

copy the folders in system.zip into your root folder, load into a browser and should work for you. I'm interested in learning a better way to code my controller as I don't like how i've chained things together.

Thanks!

EDIT: Apparently files don't work properly on here.

http://www.brandonrichards.com/database.sql
http://www.brandonrichards.com/system.zip


HMAC login - El Forum - 08-07-2007

[eluser]Michael Wales[/eluser]
I did a quick Google for HMAC login and didn't return anything significant. Could you go into more detail as to what exactly is HMAC for the rest of us?

Thanks!


HMAC login - El Forum - 08-07-2007

[eluser]Michael Wales[/eluser]
Oops - spoke to soon, a search for just HMAC returns some good results: Wikipedia: HMAC


HMAC login - El Forum - 08-07-2007

[eluser]brandonrichards[/eluser]
http://www.php-mag.net/itr/online_artikel/psecom,id,451,nodeid,114.html

There's also a pear package.

Like I said I just did this to see how i could take things I've already in php and convert them for use in CI. I based it mainly upon the php-mag article