suggest for authentication library


who can give me a suggest for an authentication library that have a permissions Role like admin guest and others?

thanks in advance

you could look at this excellent ACL:

Create your users table and assign each user a group. Then create a groups table, eg.

Group 1 (super user): 1,2,3,4
Group 2 (admin): 2,3
Group 3 (guest): 4

when a user logs in, store their permissions in a session. The ACL will check the session against the URI they are trying to access and either grant or deny access. Very slick!

hope that helps?

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.