Authentication with Pear Auth() and access levels
Looking on the web to find a good tutorial for imp开发者_如何学JAVAlementing an auth system with Pear Auth(). I need to use different user permission, storing access level in a db field. On the official docs can't find anything about permission level...
Authentication is signifying that you own an identity. This is what PEAR Auth does.
Authorization is signifying that an identity has permission to perform an action.
Authentication is not authorization.
Take a look at this previous question on good ACL classes, which you can use to perform Authorization.
精彩评论