Thank you rlparker. I followed the instructions on the page you directed me to and it worked. Thank you.
I have one other password issue and any help will be appreciated.
Here is the directory structure
directoryA contains all the admin files and needs to be password protected. I have successfully done this thanks to the advice I received..
directoryB contains the files that need to be accessible by the public.
I created a new .htaccess file for directoryB and put this in it:
allow from all
However when I try to access the folder I get a 404 error.
Would anybody have an idea on how to allow access to directoryB while restrict access to directoryA?
Thank you again.