Re: how _not_ to log?

Поиск
Список
Период
Сортировка
От Marko Kreen
Тема Re: how _not_ to log?
Дата
Msg-id CACMqXCKx35Hi9GPs27mZ6=g0pRz8jB2mP+yZ2bO-z=-na6Y2-A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: how _not_ to log?  (Adrian Klaver <adrian.klaver@gmail.com>)
Список pgsql-general
On Fri, Jul 26, 2013 at 2:54 AM, Adrian Klaver <adrian.klaver@gmail.com> wrote:
> http://www.postgresql.org/docs/9.2/interactive/sql-alterrole.html
>
> Caution must be exercised when specifying an unencrypted password
> with this command. The password will be transmitted to the server in
> cleartext, and it might also be logged in the client's command history or
> the server log. psql contains a command \password that can be used to change
> a role's password without exposing the cleartext password.

Caution must be exercised with "encrypted" passwords too - they are
cleartext-equivalent, which means you can use them to log in,
without knowing the original password.

And the "encryption" is single md5() so the actual password
is relatively easy to crack too.

So avoiding logging them is good idea.

--
marko


В списке pgsql-general по дате отправления:

Предыдущее
От: Olivier Austina
Дата:
Сообщение: SQL for multimedia retrieval
Следующее
От: "Janek Sendrowski"
Дата:
Сообщение: Re: Fastest Index/Algorithm to find similar sentences