Re: php, mysql security question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux