JeRRy wrote:

You know how there is a way to enable/disable hot
linking to your images via CPanel to allow/disallow
people to link to your images from an external site? Well is there a way to allow/disable external sites
connecting to a mysql via PHP?

So is there a way to allow only localhost access to
the db's somehow?

I wonder this to add extra security to my db's and not
only that to educate others on this list if it is
possible or not.

Yes, it's possible and recommended. This would be better asked on a MySQL forum or email list, though. You give permission for each user to connect from a specific host when you GRANT them permissions. Read the MySQL manual about the GRANT command.

---John Holmes...

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to