Jump to content

need help finding a basic access management script i can learn from


gibbo1715

Recommended Posts

HI all

 

Does anyone know where i can find the following, im getting my head round php slowly but this would help me out a lot

 

What im after is a script that works with a mysql database that allows users to be registered by an administrator into different usergroups and then based on usergroup be able to give access to different parts of the site

 

I d like to be able to create as many usergroups as i like and then assign pages to that usergroup

 

hope that makes sense, if anyone can point me to something that does this or would get me started i d ap[preciate it

 

thanks

 

Gibbo

Link to comment
Share on other sites

Most things with specific permissions deals with something call ACL (Access control lists), but are a fairly complicated topic when you get to the lowest level of it. The data structures typically deal with integers representing permissions and utilizing bitmasks to check these permissions.

 

Unfortunately, since you're new, which is no big deal since we all were just starting out at some point, it would probably be pretty scary. If you really want to look into how real systems do it, or if you're feeling adventurous, you can google "Access control list" or "ACL". You could also check out Zend Framework's ACL class: http://framework.zend.com/manual/en/zend.acl.html .

 

edit: broken link, silly period.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.