RE: [PEAR] Pear Auth

From: Date: Mon, 24 Dec 2001 09:33:55 +0000
Subject: RE: [PEAR] Pear Auth
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-628@lists.php.net to get a copy of this message
>There's a distinction about authentication and authorization. When a >user is authenticated, you know that the user is who he claims to be, >that's all. Finding out what the user is allowed to do (authorization) >is a separate thing. > > - Stig Thanks Stig. All I'm trying to do, is say if the user has userlevel 5 or above, they can enter, if not, then they cant. The userlevel e.g. "$level=5;" will be at the top of each page. I would like to integrate with or use something on top of Pear Auth to do this. Martin did a minor mod for me but it doesn't work, and now he's not interested, so any help would be appreciated. BTW each user would have a PermLevel field in the DB. Thanks, and have a good Xmas!! Simon H

« previous php.pear.general (#628) next »