pg_hba.conf file

From: "Martin A(dot) Marques" <martin(at)math(dot)unl(dot)edu(dot)ar>
To: pgsql-general(at)postgresql(dot)org
Subject: pg_hba.conf file
Date: 2001-03-02 22:23:51
Message-ID: 983571831.3aa01d7788437@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'm currently working on a proyect that has Postgres as the database storage
server, and PHP-4.0.4pl1 as the language to use in comunication with the users.
What I can't get to understand is how PHP comunicates with the database, so that
I can set the correct hba.conf enteries.
PHP will be on the same server as Postgres is, and the pg_hba.conf file contains
this, which I'm not sure is a good configuration:

local all trust
host all 127.0.0.1 255.255.255.255 password
host all 168.96.132.31 255.255.255.0 password
host all 170.210.8.31 255.255.255.0 password

What do you people hear think of this? I'm consurned about the local enterie,
but when I put password instead of trust, I can't login with PHP to the
database.
Any thoughts?

Saludos... ;-)

System Administration: It's a dirty job,
but someone told I had to do it.
-----------------------------------------------------------------
Martín Marqués email: martin(at)math(dot)unl(dot)edu(dot)ar
Santa Fe - Argentina http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------

Responses

Browse pgsql-general by date

  From Date Subject
Next Message omid omoomi 2001-03-02 22:45:06 Table rule does not work!
Previous Message Martin A. Marques 2001-03-02 22:10:46 Re: PostgreSQL for Solaris packages