PDA

View Full Version : Authenticate MySQL only from certain pages?


tomplast
April 2nd, 2007, 05:08 AM
I am wondering if there is any way to configure MySQL so it only will accept connections from a certain page (like dbcons.php), does anyone knows how to do this?

astrogazer
April 2nd, 2007, 09:44 AM
The only(I think!) mechanisms that MySQL can use to control
access are user authenitication and/or client IP.

tomplast
April 2nd, 2007, 04:08 PM
The only(I think!) mechanisms that MySQL can use to control
access are user authenitication and/or client IP.

Perhaps it's possible to patch MySQL and maybe PHP to make this work. I think it would be great in some situations.