Page 1 of 1

Password Protect HTML

Posted: 2010-01-12 21:10:56
by parry
I was wondering if there was a way to password protect the HTML file taht you create of your movie collection?

The reason I ask is that when I upload it I only want certain people having access to it.

Thanks :)

Posted: 2010-01-12 22:02:15
by antp
On many hosting systems (those running Apache web server) you can password-protect a folder using a .htaccess file. You can easily find help on how to do that on internet by searching with keywords like htaccess password ;)

Posted: 2010-01-13 08:02:52
by parry
Sadly mine doesn't, Is there any other way?

Posted: 2010-01-13 13:25:58
by Eddie
What kind of webserver are you running? Which hoster?
.htaccess would be the easiest way but you could also use some PHP-scripts.

Posted: 2010-01-13 13:52:06
by parry
Its only a free one called hostultra, main reason I went with it is because it supported FTP.

I did make a .htaccess file etc as instructed in an earlier post but when I tried to upload it a file invalid error kept popping up.

Posted: 2010-01-13 19:11:00
by Eddie
Is that true? YOu have to pay in order to get a MySQL database at that hoster? Well, you will probably find others, also with FTP support, which include mysql and are still for free..

Posted: 2010-01-14 12:49:05
by antp
parry wrote:Its only a free one called hostultra, main reason I went with it is because it supported FTP.

I did make a .htaccess file etc as instructed in an earlier post but when I tried to upload it a file invalid error kept popping up.
Indeed after a quick search on their forum, the free accounts that they provide do not allow htaccess files ...

Posted: 2010-01-14 17:23:40
by parry
Is there any other way of doing it other than using a htaccess file?

Posted: 2010-01-17 12:33:39
by antp
Yes, using PHP or some other script language if allowed by the server. But it would require some work I think.