//flex table opened by JP

Click to See Complete Forum and Search --> : passwd protect a web page?


c0r3file
05-08-2003, 03:55 PM
I have found various ways on the net to use javascript to password protect a web page, but all that I have found show the password in the html source! (LOL). Some require the name of the page to be the password, but if you know the absolute URL you can bypass that.

Anyone know where I can find how to do password protect a web page more effectively?

thanks in advance...

c0r3file

Dark_Raver
05-08-2003, 06:12 PM
that would depend on the set up and web server you are running.

apache uses htaccess files to password folders, others like abyss web server gives you options for that in setup screens.

using javascript to password you page isn't very robust, to be sure you should use your web servers ability to check that.

qball
05-09-2003, 01:53 AM
Anyone know where I can find how to do password protect a web page more effectively?


Dark_Raver on right track.

Basically you don't pw a webpage, you pw the data, and access to data...

You can see, NO touch, don't work on web, like www.pets.com.

Secure the data, and contrl access.

bahama llama
05-11-2003, 04:52 PM
If you were going to use JavaScript, it wouldn't be very secure but you could just have a javaScript that checks a username and password stored in a cookie on the client computer. If this is what you are looking for then you should be able to use just about any JavaScript tutorial on the web to teach you how. Just remember, this is not very secure and if you are using this for a clients business information they probably would not appreciate it since it is easy to bypass, however if you are just doing this to protect you and your friends dungeons and dragons stats, no problem. Don :D

Eric Legge
05-12-2003, 04:53 PM
You get 10+ pages of links if you enter website and "password protect" in the http://www.google.com/ search engine.

Eric
http://www.legge40.freeserve.co.uk/BuyerBeware.htm