Обсуждение: Password

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

Password

От
"Strand Johan F."
Дата:
Hi !

Is it possible to configure the postgresql database server to
require password when you log in from the same host as the
databse server ?

in my case I have a java-program that access the database
through JDBC but it doesen't matter what I type in passwd field
as long as the user-id are correct.

If you can, how ?

Thanks

/Johan
johan.f.strand@telia.se

Re: [ADMIN] Password

От
Brad Bonkoski
Дата:
Hello...
You are able to make users authenticate by setting up your pg_hba.conf
file.  Instead of trust at the end use password.  I would read the
manual on security because it gives you some pretty clear axample f what
you probably want.
Hope this helps
-Brad

"Strand Johan F." wrote:

> Hi !
>
> Is it possible to configure the postgresql database server to
> require password when you log in from the same host as the
> databse server ?
>
> in my case I have a java-program that access the database
> through JDBC but it doesen't matter what I type in passwd field
> as long as the user-id are correct.
>
> If you can, how ?
>
> Thanks
>
> /Johan
> johan.f.strand@telia.se
>
> ************