in reply to Authenticating to mySQL through DBI on Apache?

I believe that so far we've missed the OP's point.

The database is on a different server than the webserver, behind a(nother) firewall.

Authenticating users from infromation stored in the database has been done before with modules to make it fairly trivial - once an initial connection is opened from Apache to the db in order to submit the requests. It is the opening of this initial connection that the poster is concerned about. he wants the intiial db connection somehow done without the id,password being stored on the webserver.

And the only ways I see around this are:

--Bob Niederman, http://bob-n.com
  • Comment on Re: Authenticating to mySQL through DBI on Apache?

Replies are listed 'Best First'.
Re: Re: Authenticating to mySQL through DBI on Apache?
by tilly (Archbishop) on Jul 14, 2003 at 01:21 UTC
    Perhaps my post above was unclear.

    The PerlAuthenHandler approach in mod_perl allows any method that you want for verifying the authentication. Including attempting to connect to the database and seeing whether the database accepts that user name/pasword for connecting.

    There are also potential performance problems with this method that I pointed out.