Securing a Folder - How to do this?
Another neat way is using phpSecurepages ( http://www.phpsecurepages.com ). Basically you add a snippet of php to the top of each html file/article that you want protected. Then you create your list of user/password combos in one of the config files. Anytime someone tries to access a page with the snippet of php at the top of it it requests their username & password. The way I use it is I have a template with the php snippet in it & I use that template whenever I need a page to be password protected.
Fog Creek Home