I've been searching for ways to password protect a directory using usernames and passwords stored in a MySQL database.
Found these links so far:
Advanced htaccess tutorial (scroll down to the Module: mod_auth_mysql part)
PHP security admin (freshmeat .net project) * (realized after I downloaded this that it won't do what I'm looking for – this will protect PAGES, not an entire directory)
(If you find any – feel free to post them in the comments)