Forums
This topic is locked
Access Levels
Posted 28 Nov 2002 11:51:10
1
has voted
28 Nov 2002 11:51:10 Hamish O'Neill posted:
<font face='Arial'>Hey People,Ive made a site using ASP and Access. I have a communty of users who log in to post messges on my message board etc but i also have an area of my site where i only want me to access. Ive got the log in down pat but im having a bit of trouble with access levels. I know that its best to have access level 1 for all users and 2 for me but level one users can still access my control area. AAHH!
So do i need to name a field in my database a certain name? its currently 'access level'. Anything else? Ive got all my control page in the root directory and other update/insert pages in different directoirs. I dunno but i need help soon before people start making updates on my site!</font id='Arial'>
Replies
Replied 28 Nov 2002 17:55:04
28 Nov 2002 17:55:04 Head Mr. replied:
i assume your using the built in function for UD w/ login etc.
I just did this sooo.. this is what you need to do
i assume you already have a database that has like
username | password | userlevel
under Server behaviors ->User athentizication -> Restrict Access to Page
Select the username, password and accesslevel togel and click define
You want that to match whatever your database entry for you is 2 (for level 2)
then define it as 2
everyeone else, who does not have a 2 in the database, will be kicked to the url you put in the bottom
-I am beyond the line of Morality and therefore, beyond caring.
I just did this sooo.. this is what you need to do
i assume you already have a database that has like
username | password | userlevel
under Server behaviors ->User athentizication -> Restrict Access to Page
Select the username, password and accesslevel togel and click define
You want that to match whatever your database entry for you is 2 (for level 2)
then define it as 2
everyeone else, who does not have a 2 in the database, will be kicked to the url you put in the bottom
-I am beyond the line of Morality and therefore, beyond caring.