Is there some possibility to link a database to an htaccess file, so that instead of having a passwd file you would have a database with DES-crypted password and username fields?
Why use a .htaccess file at all if you want to store the stuff in a
database? PHP can perform this authentication for you easily without the
need for inefficient .htaccess files. See:
http://www.php.net/manual/features.php3
You could also use something like mod_auth_mysql for Apache or one of the
many other authentication modules available to do this outside of PHP.
Tiger Taylor wrote :197
Why not use libcrypt and use the new Twofish or similair
encryption algorithms? One could easily write some
authentication routines that store and retrieve username,
password, etc.. in SQL using any encryption algorithm you
wanted. One could also simply use md5 with uniqid to create
an MD5 hash of a password and store it (ex: PHP-lib does
this).
Refer to http://www.php.net/manual under the section labeled
encryption for explanation of how to use libcrypt routines.