|
The easiest way to do this is to have an opening page that presents a password text box and a button. The user then puts in the password and hits the okay button.
You run a javascript to check the password and either load the protected page, or throw up an error message saying to try again.
You also need to prevent the protected page from loading if someone is smart enough to put in the URL directly. Another javascript could handle this on the protected page. You will probably need a flag of some kind on the client side to see if they typed in the password or not.
There are other ways to do this as others may comment. This is just what came to my head first.
__________________
Jeff C
|