开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜