I've put all of my data files into a directory separate from the db.cgi script, and protected that directory with .htaccess. The only problem is, this measure does not prompt the user to login to the server if they want to view the database. Is it at all possible to use .htaccess and .htpasswd to protect the viewing of the database so that users have to login to the server before they can see the database?
(The real issue, here, is that I already have an enormous list of usernames and passwords in a .htpasswd file, and I don't want to have to re-enter all of that data in order to password protect the viewing of my database.)
Thanks.
(The real issue, here, is that I already have an enormous list of usernames and passwords in a .htpasswd file, and I don't want to have to re-enter all of that data in order to password protect the viewing of my database.)
Thanks.