You will do
1.At registration time ,each user is given a level.
2.At Login time you will access it store in session variable.
3.when user access a any protected page ,you will check that user's
level.If the user is matched with the level ,otherewisw ...Say
sorry............


                                                                                       
                            
                    Heidi Belal                                                        
                            
                    <hmbelal@yaho        To:     CF-Talk <[EMAIL PROTECTED]>   
                            
                    o.com>               cc:                                           
                            
                                         Subject:     Password Protection              
                            
                    04/01/01                                                           
                            
                    07:52 PM                                                           
                            
                    Please                                                             
                            
                    respond to                                                         
                            
                    cf-talk                                                            
                            
                                                                                       
                            
                                                                                       
                            




Hi all!
I have a question that i'd like suggested solutions to
if possible!
I want to allow certain people to access certain
pages.
I already have a log in page which is password
protected, but everybody who logs in has full access
to all the pages.  I want to eliminate that full
access.
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!



=====
Heidi Belal
ICQ# 32127109
http://m3.easyspace.com/hmbelal

A bus stops at a bus station.
A train stops at a train station.  On my desk
I have a work station...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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

Reply via email to