[horde] interesting authentication mechanism

Bo Daley bo at darkwork.net
Mon Aug 16 22:08:15 PDT 2004


On Mon, 16 Aug 2004, Andrew Coleman wrote:

> If i wanted to have an 'optional' authentication, how would i go about 
> doing this? By optional, i mean only logging in and gaining other 
> features if you wanted to. I have an application that i would like to 
> have guest access (no login or password to get to the site) and have 
> the menubar and whatnot, but also have the administrative side 
> available to me if i want to give it a user/pass.

You could probably achieve something like this by setting the application 
permission for your app to allow guest access, but check 
Auth::getAuth() or Auth::isAdmin() inside your admin pages. (kinda like 
the configuration on bugs.horde.org).

bo.





More information about the horde mailing list