Re: plpgsql by default (was: Re: Remote administration contrib module)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: plpgsql by default (was: Re: Remote administration contrib module)
Дата
Msg-id 3142.1144723508@sss.pgh.pa.us
обсуждение исходный текст
Ответ на plpgsql by default (was: Re: Remote administration contrib module)  (Andrew - Supernews <andrew+nonews@supernews.com>)
Ответы Re: plpgsql by default  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-hackers
Andrew - Supernews <andrew+nonews@supernews.com> writes:
> On 2006-04-10, Bruce Momjian <pgman@candle.pha.pa.us> wrote:
>>> [ security ]
>> It actually is the reason I have heard.

> And it was duly debunked.

That is the reasoning, and personally I agree with it.  You don't leave
sharp objects sitting around if you have no need to have them out.
The availability of plpgsql or other PLs makes for a significant jump
in what a bad guy can do if he gets access to the database, so if a
particular DB doesn't actually need the capability, it's best that it
not be there.  And that's without considering the possibility of genuine
security holes in the PL, but just supposing that it only does what it's
supposed to do.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Domains as Subtypes
Следующее
От: Andrew - Supernews
Дата:
Сообщение: Re: plpgsql by default (was: Re: Remote administration contrib module)