Re: Safe security

Поиск
Список
Период
Сортировка
От Tim Bunce
Тема Re: Safe security
Дата
Msg-id 20100308143720.GX1375@timac.local
обсуждение исходный текст
Ответ на Re: Safe security  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: Safe security
Список pgsql-hackers
On Wed, Mar 03, 2010 at 07:01:56PM -0500, Andrew Dunstan wrote:
> Joshua D. Drake wrote:
> >On Wed, 2010-03-03 at 11:33 -0500, Andrew Dunstan wrote:
> >
> >>Well, we could put in similar weasel words I guess. But after
> >>all, Safe's very purpose is to provide a restricted execution
> >>environment, no?
> >
> >We already do, in our license.
>
> True. I think the weasel formula I prefer here is a bit different.
> It might be reasonable to say something along the lines of:
>
>    To the extent it is prevented by the Perl Safe module, there is no
>    way provided to access internals of the database server process or
>    to gain OS-level access with the permissions of the server process,
>    as a C function can do.

Here's a patch that:
1. adds wording like that to the docs.
2. randomises the container package name (a simple and sound security measure).
3. requires Safe 2.25 (which has assorted fixes, including security).
4. removed a harmless but suprious exclamation mark from the source.

Tim.


Вложения

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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: testing cvs HEAD - HS/SR - xlog timeline 0 pg_xlogfile_name_offset
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Explicit psqlrc