I'm aware of the risks of rolling your own user authentication scripts, but I'm also wary of using packages that don't seem to be actively maintained: the current version of PEAR LiveUser is almost a year old.
Please recommend (and argue the case for) an actively-maintained user-authentication library which can be integrated into an existing web project. It should ideally support various roles - anonymous users, registered users and administrators at various levels.
It sounds like what you want is a user control library, rather than an authentication library.
For example, in the Zend Framework there are two classes: Zend_Auth
(which handles user authentication: logins (e.g. simple database tables to OpenID)) and Zend_Acl
(which handles the user access side of things).
I quite like the ZF classes - I haven't tried using them outside of a ZF project but most of their classes can so give it a try. Even if you decide to build your own they'd be useful for reference.
It looks to me like PEAR hasn't changed much because it's stable. I wouldn't be afraid of using it.
http://ulogin.sourceforge.net/
Is quite secure and well-thought. It's also very configurable.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With