PDA

View Full Version : Web page security


Wolfboy
13th of October 2003 (Mon), 10:35
Hi,

Does anyone know of some code/routines where you can add a password to a particular page of a website.

For example if I put some personal pictures on my website and only wanted certain people to see them..


Thanks

wolfboy.

Man of 1000 Ages
13th of October 2003 (Mon), 12:19
Well, there are a couple of ways to approach it. If you are looking for something quick and not excessively secure (but enough to keep random passing viewers out), try some of the JavaScript-based solutions at http://javascript.internet.com/passwords/ . If you are looking for more security, you probably will need to use PHP or ASP, assuming the place hosting your website supports one. This is what I use for my password protection. You can write your own scripts or check out ones such as this: http://www.hotscripts.com/Detailed/18905.html .

I hope that helps!

Kamal