Problem: Security loose

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

Problem: Security loose

От:
"Ravil Aitov" <ravil@pi8plus.ru>
Дата:
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 <tgl@sss.pgh.pa.us>
Дата:
"Ravil Aitov"  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

FAQ