Re: Streaming replication as a separate permissions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Streaming replication as a separate permissions
Дата
Msg-id 2893.1293160578@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Streaming replication as a separate permissions  (Florian Pflug <fgp@phlo.org>)
Ответы Re: Streaming replication as a separate permissions  (Florian Pflug <fgp@phlo.org>)
Список pgsql-hackers
Florian Pflug <fgp@phlo.org> writes:
> On Dec23, 2010, at 16:54 , Tom Lane wrote:
>> BTW, is it possible to set things up so that a REPLICATION account
>> can be NOLOGIN, thereby making it really hard to abuse for other
>> purposes?  Or does the login privilege check come too soon?

> Please don't. This violates the principle of least surprise big time!

How so?  (Please note I said *can be*, not *has to be*.)

The point of this is to ensure that if someone does illicitly come by
the replication role's password, they can't use it to log in.  They can
still steal all your data, but they can't actually get into the
database.  I don't see why it's a bad idea to configure things that way.
        regards, tom lane


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

Предыдущее
От: KaiGai Kohei
Дата:
Сообщение: sepgsql contrib module
Следующее
От: Florian Pflug
Дата:
Сообщение: Re: Streaming replication as a separate permissions