Is there anyway to password protect a directory using a html form instead of that popup window that htacess uses. I am able to protect php and html files using a autoprepend, but I have no way of protecting images files as well.
The ideal situation for me is to some way have it when somebody tries to access a certain directory, it forces them to go to a php file first that has the html form, then it brings them to that file.