Обсуждение: Problem: Security loose

Поиск
Список
Период
Сортировка

Problem: Security loose

От
"Ravil Aitov"
Дата:
Any user can connect to server (postgresql-7.1) as "postgres" using Perl
interface:
----
use Pg;
$conn = Pg::connectdb("dbname=mydb user=postgres");
(and make there anything!)
----
How it can be eliminated?

Ravil D. Aitov



Re: Problem: Security loose

От
Tom Lane
Дата:
"Ravil Aitov" <ravil@pi8plus.ru> writes:
> Any user can connect to server (postgresql-7.1) as "postgres" using Perl
> interface:

Don't use "trust" authentication mode in pg_hba.conf if you don't trust
your users.
        regards, tom lane