Re: Re: LiveUser and anonymous users
| From: | Dan Rossi | Date: | Wed, 15 Jun 2005 10:01:29 +0000 |
| Subject: | Re: Re: LiveUser and anonymous users | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-19630@lists.php.net to get a copy of this message | ||
On 15/06/2005, at 6:51 PM, Lukas Smith wrote:
we dont have anonymous users implemented. it should actually not be all that difficult to do. for now the only way i have found to handle this is making my rights configureable and setting all the rights that I want anonymous users to be able to execute to NULL. LiveUser always returns true if the right_id to check is NULL. Another possible way is to write a new auth container or abuse the session auth container to login all users that did not supply any username/password. This is a bit inconvinient however, since we lack a good method to require more "proper" authentication means in other parts of your system (better handling is what runs as weak/strong authentication in the roadmap). regards, LukasHow about for session base guest logins ? , i have a chat script that requires guest logins, but may not really require a full db backend for it.