Oh! There is a cool system that someone gave me that does just this!
You need to set Privelages..
So on say an admin page, you do a check against a database, to determine if
the user has the "Admin" Privelage.
You need to create groups, otherwise it gets unmanageable.
So :
User table- User Name/Password/Group
Groups- Group ID/GroupName
GroupPrivelages- GroupID/Privelage (Repeating)
Privelages- List of Privelages.
And you cue a privelage to a webpage/area of the website..and then a group
to certain privelages..and then a User to a Group.
You can cut the group part out if your needs are simpler..but this is a cool
way to do it :)
I believe what I was given is free to hand out, and available from a website
(some one of the CF user groups..I can't recall which one).
I will send it monday when I get to work if someone else doesn't reply
sooner with the info :)
-Gel
http://www.carigamer.com
Island Gaming At Its Best!(tm)
-----Original Message-----
From: Heidi Belal [mailto:[EMAIL PROTECTED]]
So, how about if i categorize the people into various
levels of access, and assign each a number. Then have
that number in the database in the password/username
table. Then when a person tries to access the page,
before displaying it checks which number/level the
person is in and if the person is allowed access.
What do you think?
Thanks!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists