.htaccess and .htpasswd Technical Question
Posted on 2007-10-11
I want to password protect a folder within my hosting account using .htaccess and .htpasswd . This folder contains scripts and codes that my pages grab to implement on their particular pages. If I go about password protecting these sub folders, of which my main pages use for their scripts, will it affect the access these pages have to the subfolder containing the scripts? That is, will I have to place a username and password within each page to be able to go into the subfolders to grab the files it needs for the scripts? Or is the .htaccess and mere protection so that people cant access a folder from the browser? Thanks!