Hi, Please bear with me as this is my first ever entry on my first ever forum!!
I've probably missed something really simple / obvious!
I intend to create a website where certain files are only accessible via a username & Password.
I have use the information found within Dynamic Drive to create a .htaccess and a .htpasswd file
I've used the .htaccess , htpasswd files to indicatate which files within a certain directory ('test') require password protection.
I've correctly named them / up;loaded them as ascii etc. (to a directory above my root directory.)
If the files I need password access to were in my normal directory, then anyone could simply access them via their browser.
Sitting above the root prevents them from being seen - but how do I link to them from my site?
i.e. once in the the page reached via a password, then linking back to the main site would be easy (as I'd just use the full path).
But if one on my normal pages has a link which says that a certain page can only be reached via a password - then how do I link users to thaat page?
Kind Regards,
John



Reply With Quote


Bookmarks