Password Protect a website or page

dj_myk

Suspended / Banned
Messages
168
Name
Mike Guthrie
Edit My Images
Yes
Hi all.

I have a website I created with a phot gallery on it and it all works fine.

however I am doing a wedding shoot in a few weeks and I wanted to host the pictures online and take email orders from there

Question is I want to password protect it and just give them teh URL

What is the easiest way to do this either in Frontpage or Dreamweaver.

If anyone has any links post them up.

I am planning to create the albums for each gallery throu JAlbum, which sadly does not have a password protect section.

Mike
 
google htaccess, it's very easy to set up a password for an entire folder by just putting a couple of files in the right places.
 
I mulled over for ages about what to do as I wanted the same feature, in the end instead of teaching myself web design I went with www.photium.com who have been fantastic, easy to use and realistic pricing, lots of options for individuality aswell.

I know its not an answer to your question but may be the easy option ?
 
cheers guys

I wil ltry google'in it tonight as I will play around with this idea after dinner.

I am crap at HTML codeing and have no idea about it but if someone shows me where to stick it It can be done.

I have a practical mind for computers and do IT support as a job but know nothing of programming or code :(

I will also ask the geeks at my work but i can't till wednesday when I am next in the office

Cheers

Mike
 
You should be able to password protect a folder from within your control panel.
 
ok I am confussed now

I have made the .htaccess file and placed it in the directory I want to protect, and when I navigate to the folder on the site I am presented with the username and password box.

However it apears that its not seeing or talking to the .htpasswd file. I have tried to locate it in the roon of my website and also in the folder I am protecting and nothing.

can anyone help ??

Mike
 
its cool, i contacted my web hosters and they gave me teh correct folder paths

I thought the path was just /folder

but its not

so now I have password protected a few directories of the wedding photo's I took last weekend, just to keep the event private

woop woop

cheers for all your help guys

Mike
 
If properly configured the website should return a 403 Forbidden message if you try and read the htaccess file - being able to read it means the site has got real security issues. Even then it doesn't reveal the credentials, only the allowed users as the passwords are kept in a file that stored above htdocs in the tree.
 
Back
Top