|
|
|
|
|
| | |
|
Active Server Pages ASP programs help tutorial tutorials routine routines jobs listserve mailinglist bulletin board bulletin boards programming snippet snippets CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Re: How to secure admin pages from outsiders |
From: |
Bullschmidt |
Date: |
5/21/2003 11:48:26 PM |
IP: |
205.188.208.6 |
Perhaps have a login page that asks the user for his username and password. And whatever page that posts to (which could be the same page for a self posting form) tests these fields against what is in the database, sets the username and userlevel session variables accordingly, and then redirects to the proper page - i.e. back to the login page if the password is wrong (perhaps with a JavaScript popup saying wrong username/password combination) or to the main menu page if the password is correct.
Then you can use If Then's or Select Case to control where a user with a particular userlevel can go.
Best regards,
J. Paul Schmidt - Freelance ASP Web Developer
www.Bullschmidt.com - Creating "dynamic" Web pages that read and write from databases...
|
Previous Message
Follow Up - Re: How to secure admin pages from outsiders - Si 7/17/2003 3:04:23 PM
|
|
|
|
|
|
|
|
|
|
|
|