About PEAR::Auth() and cookies
| From: | Xavier | Date: | Wed, 21 May 2003 10:47:20 +0000 |
| Subject: | About PEAR::Auth() and cookies | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-5497@lists.php.net to get a copy of this message | ||
Hi all,
As an OOP exercise, i'd like to work on PEAR::Auth() and implementing a Cookie based auth support.
I know that cookie based Auth is not recommended for evident security issues, but i think it can be a really cool feature for websites where security is no big deal.
for thoses sites, i plan to store plain login and pass datas as md5 hashe. I've seen that in LiveUser, the cookie based auth use only the loginname. But i'd prefer add the password hash.
To your minds ;), what should be the proper way ? modifying the class itself or creating a new class which extends Auth ?
I'd like to implement it only for file and DB containers (adding that to other containers definitly doesn't make sense) , in the same way , should i modify or extend them ?
Regards
--
Xavier