http://www.askapache.com/htaccess/apache-authentication-in-htaccess.html
Anonymous
Don't force yourself or others to reimplement functionality.