[ Thanks to Kevin
Reichard for this link. ]
“In this article, I’ll talk about using databases for
authentication, rather than the standard text-file htpasswd
files.“
“There are basically three reasons to use a database, rather
than a text file, to store data.”
“The first reason is speed. Accessing data stored in a database
is much faster than accessing data stored in a text file. A
database is designed for rapid location of information. A text
file, you have to read through each record until you find what you
are looking for.”