Portal Home > Knowledgebase > Articles Database > phpPgAdmin's doesn't adhere to pg_hba.conf's rules


phpPgAdmin's doesn't adhere to pg_hba.conf's rules




Posted by Koobi, 09-13-2007, 12:50 AM
Hello, I've been editing pg_hba.conf all day trying to set the right rules so that only some IP's can access the db. Everytime I made a change, I restarted postgres, however phpPgAdmin does not seem to reflect the changes. Later on I discovered that pgAdmin3 adheres to pg_hba.conf Does anyone know if this is a phpPgAdmin bug? Thanks.

Posted by logbear, 09-13-2007, 03:17 PM
Hello Koobi, I think your problem is that phpPgAdmin connects to your database locally, so anything you put on pg_hba.conf is useless because all connections will come from 127.0.0.1. If what you are trying to do is limit the IPs where people can connect to phpPgAdmin you will have to deal with Apache or phpPgAdmin itself. Regards, Leo



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
webmin error (Views: 651)

Language: