Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 30B6A2E356C for ; Mon, 17 Dec 2007 12:16:17 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 97219-01-3 for ; Mon, 17 Dec 2007 12:16:11 -0400 (AST) Received: from lists.commandprompt.com (host-159.commandprompt.net [207.173.203.159]) by postgresql.org (Postfix) with ESMTP id DBF012E355E for ; Mon, 17 Dec 2007 12:13:55 -0400 (AST) Received: from [192.168.1.226] (or-69-34-217-90.sta.embarqhsd.net [69.34.217.90]) (authenticated bits=0) by lists.commandprompt.com (8.13.8/8.13.8) with ESMTP id lBHGDdnh025839 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 17 Dec 2007 08:13:43 -0800 Message-ID: <4766A037.7040203@commandprompt.com> Date: Mon, 17 Dec 2007 08:13:43 -0800 From: "Joshua D. Drake" Organization: Command Prompt, Inc. User-Agent: Thunderbird 1.5.0.13 (Windows/20070809) MIME-Version: 1.0 To: "Roberts, Jon" CC: "'Jonah H. Harris'" , Bill Moran , pgsql-performance@postgresql.org Subject: Re: viewing source code References: <1A6E6D554222284AB25ABE3229A92762112A00@nrtexcus702.int.asurion.com> In-Reply-To: <1A6E6D554222284AB25ABE3229A92762112A00@nrtexcus702.int.asurion.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (lists.commandprompt.com [207.173.203.159]); Mon, 17 Dec 2007 08:13:43 -0800 (PST) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/258 X-Sequence-Number: 28074 Roberts, Jon wrote: > Alvaro Herrera pointed out that pg_read_file requires superuser access which > these users won't have so revoking access to the function code should be > possible. > > Joshua D. Drake suggested revoking pg_proc but that isn't the source code, > it just has the definition of the functions. Actually I suggested using a obfuscation module. > > If it isn't a feature today, what table has the source code in it? Maybe I > can revoke that. If your pl is perl or plpgsql it will be in the prosrc (pro_src?) column in pg_proc. Joshua D. Drake > > > Jon >> -----Original Message----- >> From: Jonah H. Harris [mailto:jonah.harris@gmail.com] >> Sent: Friday, December 14, 2007 3:04 PM >> To: Bill Moran >> Cc: Joshua D. Drake; Roberts, Jon; pgsql-performance@postgresql.org >> Subject: Re: [PERFORM] viewing source code >> >> On Dec 14, 2007 2:03 PM, Bill Moran >> wrote: >>> I disagree here. If they're connecting remotely to PG, they have no >>> direct access to the disk. >> pg_read_file? >> >> -- >> Jonah H. Harris, Sr. Software Architect | phone: 732.331.1324 >> EnterpriseDB Corporation | fax: 732.331.1301 >> 499 Thornall Street, 2nd Floor | jonah.harris@enterprisedb.com >> Edison, NJ 08837 | http://www.enterprisedb.com/ > > ---------------------------(end of broadcast)--------------------------- > TIP 2: Don't 'kill -9' the postmaster >