| От | Stephen Frost |
|---|---|
| Тема | Re: [ADMIN] Passwords in clear text in server log |
| Дата | |
| Msg-id | 20171011154748.GM4628@tamriel.snowman.net обсуждение исходный текст |
| Ответ на | Re: [ADMIN] Passwords in clear text in server log (Scott Marlowe <scott.marlowe@gmail.com>) |
| Список | pgsql-admin |
Scott, Don, all, * Scott Marlowe (scott.marlowe@gmail.com) wrote: > FYI our standard hack here is to run > > set log_statement='none'; > alter user ... That's pretty terrible, frankly. > I do agree it would be nice to have postgres stamp out the password > field with *** when logging though The right approach is to use SCRAM and the exported libpq functions for generating a proper verifier that is then passed to ALTER USER, just like \password does in psql. Of course, SCRAM is only in v10. The old md5 method has other issues beyond this. Better than all of the above is to use either Kerberos or client-side certificates. Thanks! Stephen
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера