Re: No PUBLIC access by default?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: No PUBLIC access by default?
Дата
Msg-id 7209.1123854182@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: No PUBLIC access by default?  (Peter Fein <pfein@pobox.com>)
Список pgsql-general
Peter Fein <pfein@pobox.com> writes:
> In particular, by writing TEMPLATE template0, you can create a virgin
> database containing only the standard objects predefined by your version
> of PostgreSQL.

> I guess I'm just surprised that template0 would have *any* ACLs set

PUBLIC is one of the standard predefined objects.

> (aside from those needed by system catalogs, etc.).  It seems to be
> favoring convenience by default instead of security by default.

I don't see the ability to create a table as a security violation.
If you do, you can lock down your database however you want ... but
that doesn't mean that everyone else should have to follow your ideas.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Access NEW and OLD from function called by a rule
Следующее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Re: insert performance riddle