PDA

View Full Version : .htaccess: Protect folder to no-one but the localhost


Jerome
08-13-2004, 10:26 PM
Hi,

Is it possible to protect the files in a folder completely, except for a javascript which takes the files when people visit the site.

Thanks,
Jerome

TinMan
08-13-2004, 11:18 PM
Not sure if its what you need, but I used a small script called login manager, to bring up an acces page where a visitor has to type in a user name and password to gain entry to certain areas.

Jerome
08-14-2004, 09:47 AM
Hi TinMan,

I am looking for the .htaccess way. Thanks anyway,
Jerome