Luciano
Luciano

Reputation: 1455

Authentication with Pear Auth() and access levels

Looking on the web to find a good tutorial for implementing 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...

Upvotes: 0

Views: 634

Answers (1)

Charles
Charles

Reputation: 51411

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.

Upvotes: 1

Related Questions