Forum Moderators: open

Message Too Old, No Replies

Password Protect

         

Magpie

3:05 pm on Apr 1, 2004 (gmt 0)

10+ Year Member



On my website, I have a page I want people to veiw only by putting in a password before going to the page... Could someone help me set tis up?

All help is much appreciated

Kind Regards

Martin

sderenzi

3:25 pm on Apr 1, 2004 (gmt 0)



To be truthful I wanted to do the very same thing once upon a time. I realized just how silly I was being because the content didn't really need to be hidden. If you want to encrypt any .htm document so that only people with a password can access it then you'll need to get a program such as HTML Password v3.1. Just do a search for it online. There are probably freeware programs for the very same thing, the above is just an example. Good luck!

PS You may want to consider why you need a password protected .htm file. Is it really worth the time & effort, but if so then do it.

Moby_Dim

3:46 pm on Apr 1, 2004 (gmt 0)

10+ Year Member



Or make this page dynamic (pwd protected perl script, for example), or put it in a separate pwd protected directory, or... ;)

IONWeb

5:16 am on Apr 2, 2004 (gmt 0)

10+ Year Member



Do a search in your favorite search engine for htaccess - It is a handy little tool for doing what you are seeking.

Robert Charlton

7:27 am on Apr 3, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Here's a thread where I got some good answers and also posted a resource that might help you....

Using .htpasswd with .htaccess
Some elementary questions on password protecting a directory
[webmasterworld.com...]

brucec

6:32 pm on Apr 5, 2004 (gmt 0)

10+ Year Member



Most web hosting companies support PHP and ASP. It takes only 4 lines of PHP or ASP to protect your web page. Don't let these languages scare you.

If you tell me what langauges your web hosting company supports, I will give you the code right here.

Check for ASP, PHP, or CGI (Perl)