Re: plpgsql by default - Mailing list pgsql-hackers

From Joshua D. Drake
Subject Re: plpgsql by default
Date
Msg-id 443B267C.9010608@commandprompt.com
Whole thread Raw
In response to Re: plpgsql by default (was: Re: Remote administration contrib module)  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: plpgsql by default  ("Marc G. Fournier" <scrappy@postgresql.org>)
Re: plpgsql by default  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> 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.

Uhmmm exactly how is plpgsql a sharp object? plPerl... ok that makes 
sense but you can't access the underlying OS with plpgsql.

> 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,

What does enabling plpgsql do via access that you can't just do from an 
SQL query?

Joshua D. Drake
 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
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>        subscribe-nomail command to majordomo@postgresql.org so that your
>        message can get through to the mailing list cleanly
> 


-- 
            === The PostgreSQL Company: Command Prompt, Inc. ===      Sales/Support: +1.503.667.4564 || 24x7/Emergency:
+1.800.492.2240     Providing the most comprehensive  PostgreSQL solutions since 1997
http://www.commandprompt.com/




pgsql-hackers by date:

Previous
From: Andrew - Supernews
Date:
Subject: Re: plpgsql by default (was: Re: Remote administration contrib module)
Next
From: Jamie Deppeler
Date:
Subject: OS X and Slony