The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Disabling MySQL access between cPanel accounts

Discussion in 'Database Discussions' started by elialum, May 19, 2012.

  1. elialum

    elialum Member

    Joined:
    Sep 10, 2008
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Israel
    cPanel Access Level:
    DataCenter Provider
    Hi,

    The correct behavior of MySQL would be to allow connections from localhost to a database if there is a grant for that specific user. You can't lock that down as the connection would be coming from 'localhost'.

    Meaning, as long as I am on the same server (shared hosting), and I know the dbname & password - I can easily connect to the database.

    Anyway to disallow this ?

    Googeling about it, I found something with suhosin -

    suhosin.sql.user_prefix
    suhosin.sql.user_postfix

    But I am no sure how to configure it..

    Eli.
     
Loading...

Share This Page