storing passwords

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

storing passwords

От:
"Brandon Metcalf" <bmetcalf@nortel.com>
Дата:
We have a number of automated jobs that connect to our pgsql DB and
I'm wondering what others are doing for authentication and securing
passwords.  It's easy enough to hardcode a password, but is there
something specific to pgsql, perhaps, that would be a better solution?

Thanks.

-- 
Brandon

Re: storing passwords

От:
"Laurent Wandrebeck" <l.wandrebeck@gmail.com>
Дата:
2008/11/5 Brandon Metcalf :
> We have a number of automated jobs that connect to our pgsql DB and
> I'm wondering what others are doing for authentication and securing
> passwords.  It's easy enough to hardcode a password, but is there
> something specific to pgsql, perhaps, that would be a better solution?

http://www.postgresql.org/docs/8.3/interactive/libpq-pgpass.html may
do the trick.

Regards,
Laurent.

Re: storing passwords

От:
Steve Atkins <steve@blighty.com>
Дата:

On Nov 5, 2008, at 9:59 AM, Laurent Wandrebeck wrote:

> 2008/11/5 Brandon Metcalf :
>> We have a number of automated jobs that connect to our pgsql DB and
>> I'm wondering what others are doing for authentication and securing
>> passwords.  It's easy enough to hardcode a password, but is there
>> something specific to pgsql, perhaps, that would be a better  
>> solution?
>
> http://www.postgresql.org/docs/8.3/interactive/libpq-pgpass.html may
> do the trick.

ident authentication can be a good alternative for scheduled jobs  
running
on the same machine as the database too.

Cheers,
   Steve

FAQ