Re: Interpretation of TRUSTED

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: Interpretation of TRUSTED
Дата
Msg-id 20050208223900.GG14451@fetter.org
обсуждение исходный текст
Ответ на Interpretation of TRUSTED  (Thomas Hallgren <thhal@mailblocks.com>)
Ответы Re: Interpretation of TRUSTED  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Tue, Feb 08, 2005 at 11:12:07PM +0100, Thomas Hallgren wrote:
> Hi,
> A TRUSTED language specifies that ordinary users can use the
> language.  It also implies that access to the file system should be
> prevented. In essence, ordinary users can never access the
> filesystem.
> 
> Is it OK to design a trusted language so that it allows access to
> the filesystem provided that the session user is a super-user?

I believe that that is what UNTRUSTED languages are for.  Only the
super-user may create functions in them, although there is no inherent
restriction on other users' calling those functions.

Cheers,
D
-- 
David Fetter david@fetter.org http://fetter.org/
phone: +1 510 893 6100   mobile: +1 415 235 3778

Remember to vote!


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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Query optimizer 8.0.1 (and 8.0)
Следующее
От: pgsql@mohawksoft.com
Дата:
Сообщение: Re: Query optimizer 8.0.1 (and 8.0)