Did you get Hal's newsletter with his book preview on user permissions.
This is applicable if one user can have several permissions (or belong to
multiple groups).  http://www.teamallaire.com/newsletters/JulyNewsletter.cfm

Marianne Daye
Programmer/Analyst
Information Delivery Systems
http://ids.rti.org

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 14, 2000 2:51 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Role-based access


<snip>
Does anyone know if CF has any built-in modules for user or role-based
access to a website. I'm looking for some kind of login system where I can
restrict access to certain areas based on either the user or a group they
belong to. Thanks in advance for any responses.
</snip>

Joseph,
        We implemented a group-level security on a recent application.  This
is how we did it - in the Users table we have a DepartmentID column.  On the
verify.cfm page, if the user login is successful, we set a bunch of session
variables including <cfset Session.DepartmentID =
Authenticate.DepartmentID>.  Then, we use <cfif DepartmentID EQ "{Department
or Department List}"> tags to restrict what is seen or accessed based on
department.  If that does not make sense, email me off list and I will
explain further.  Thanks!

Chris Ivey

MTS Systems Engineer
GTE Data Services: Temple Terrace, Florida
TSS Distributed - WAN Tools Group
Office: (813) 978-4844
Pager: (813) 303-1177
AIM: IveyAtGTEDS

----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to