Re: Python 3.0 does not work with PL/Python

From: Sam Mason <sam(at)samason(dot)me(dot)uk>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Python 3.0 does not work with PL/Python
Date: 2009-05-29 11:31:49
Message-ID: 20090529113149.GI5407@samason.me.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, May 28, 2009 at 09:06:14PM -0400, Andrew Dunstan wrote:
> Does Python 3 have some sort of usable sandbox that would mean we could
> have a trusted plpython?

Not sure if people are aware of object-capability based approaches to
security. A guy called Tav has come up with some code that constrains
python (i.e. you could build a sandbox out of it) and punch holes in
it where needed (i.e. you want to be able to execute queries in the
database but otherwise not, say, touch the filesystem). The most recent
description I've found is:

http://tav.espians.com/paving-the-way-to-securing-the-python-interpreter.html

--
Sam http://samason.me.uk/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Blewett 2009-05-29 11:47:16 Re: Python 3.0 does not work with PL/Python
Previous Message Peter Eisentraut 2009-05-29 10:41:12 Re: PostgreSQL Developer meeting minutes up