Password Protect HTML

If you made a template for printing or HTML export, you can offer it to the others here. You can also ask here for help about these templates
Post Reply
parry
Posts: 15
Joined: 2010-01-12 21:08:34

Password Protect HTML

Post 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 :)
antp
Site Admin
Posts: 9630
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post 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 ;)
parry
Posts: 15
Joined: 2010-01-12 21:08:34

Post by parry »

Sadly mine doesn't, Is there any other way?
Eddie
Posts: 40
Joined: 2005-07-29 07:04:08

Post 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.
parry
Posts: 15
Joined: 2010-01-12 21:08:34

Post 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.
Eddie
Posts: 40
Joined: 2005-07-29 07:04:08

Post 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..
antp
Site Admin
Posts: 9630
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post 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 ...
parry
Posts: 15
Joined: 2010-01-12 21:08:34

Post by parry »

Is there any other way of doing it other than using a htaccess file?
antp
Site Admin
Posts: 9630
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Yes, using PHP or some other script language if allowed by the server. But it would require some work I think.
Post Reply