Re: minor feature request: Secure defaults during

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: minor feature request: Secure defaults during
Дата
Msg-id 20060920105544.GB25362@svana.org
обсуждение исходный текст
Ответ на Re: minor feature request: Secure defaults during  (Markus Schaber <schabi@logix-tt.com>)
Список pgsql-hackers
On Wed, Sep 20, 2006 at 11:59:52AM +0200, Markus Schaber wrote:
> But I have the possibility to "chmod a-x" before "chmod +s" the file.
>
> Maybe we should add "[NOT] PUBLICLY EXCUTABLE"[1] keywords to CREATE
> FUNCTION, with the default being the current behaviour for now (possibly
> configurable). Add an appropriate note in the docs for CREATE FUNCTION,
> so users are informed about the security implications.

If you're that paranoid, start a transaction, create the function,
revoke the permissions and then commit. Then no-one else will see the
function before you've set the permissions the way you want.

I agree that maybe being able to specify it during function creation
would be nice, but it's not like it's impossible now.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

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

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Re: [PATCHES] Include file in regress.c
Следующее
От: Zdenek Kotala
Дата:
Сообщение: pg_upgrade: downgradebility