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.

Connection to PostgreSQL databases

Discussion in 'Security' started by 000, Oct 2, 2011.

  1. 000

    000 Well-Known Member

    Joined:
    Jun 3, 2008
    Messages:
    150
    Likes Received:
    0
    Trophy Points:
    16
    Hi.

    I have WHM

    2 users/counts differents.

    they ceate BD in postgres

    user1 and user2

    BUT OH MY GOD !!!

    is this a bug in my config ??? :



    user1 can connect to Postgres in this form:

    pg_connect('host=localhost
    port=5432
    dbname=bduser_2 :confused:
    user=user1
    password=p1')

    user2 can connect to Postgres in this form:

    pg_connect('host=localhost
    port=5432
    dbname=bduser_1 :confused:
    user=user2
    password=p2')


    this is correct in Postgres ???
    any user can loguin intro ANY BD of system ?

    Thanks
     
Loading...

Share This Page