pg_hba.conf file - Mailing list pgsql-general

From Martin A. Marques
Subject pg_hba.conf file
Date
Msg-id 983571831.3aa01d7788437@localhost
Whole thread Raw
Responses Error message on pg_dumpall
Re: pg_hba.conf file
List 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@math.unl.edu.ar
Santa Fe - Argentina            http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------

pgsql-general by date:

Previous
From: Ned Lilly
Date:
Subject: PostgreSQL for Solaris packages
Next
From: "omid omoomi"
Date:
Subject: Table rule does not work!