View Full Version : website security
masternige
September 10th, 2007, 04:05 PM
Hi folks i have recently started doing my own website which is more pictures than anything else (picture albums)im using "apache 2.0.59" windows xp pro.And i would like to be able to password protect some of my pages.So the way i want it is when people visit my homepage for them to go any further they require a username and password.I did find a script which could be placed in the page but if someone views the source code they can also see the password,not very secure.If some one can point my nose in a better direction i would appreciate it.
Cheers Nige.
ps dont know if i missed it but does this site have a forum for website security or does it all go in this forum.
oracle128
September 11th, 2007, 05:46 AM
ps dont know if i missed it but does this site have a forum for website security or does it all go in this forum.Nope, anything regarding web sites goes in this section.
Hi folks i have recently started doing my own website which is more pictures than anything else (picture albums)im using "apache 2.0.59" windows xp pro.And i would like to be able to password protect some of my pages.Since you are using Apache you can make use of .htaccess files. See the tutorial here (http://www.elated.com/articles/password-protecting-your-pages-with-htaccess/).
Buzz
September 11th, 2007, 08:18 AM
Are you hosting the site yourself or do you have a host provider? Most hosting companies will have a control panel where you can easily set up password protected directories. (They just write htaccess files for you)
masternige
September 11th, 2007, 09:45 AM
I am hosting this my self,i have been doing an html course and i want to learn to run it all on my own.
Regards Nige.