Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'yet.': 0.03; 'heavily': 0.04; 'subject:Python': 0.05; 'used.': 0.05; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'url:pypy': 0.09; 'cc:addr:python-list': 0.10; 'python': 0.11; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'message-id:@fido.openend.se': 0.16; 'pypy.': 0.16; 'received:89.233': 0.16; 'received:89.233.217': 0.16; 'received:89.233.217.133': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'to:addr:pearwood.info': 0.16; 'to:addr:steve+comp.lang.python': 0.16; "to:name:steven d'aprano": 0.16; 'laura': 0.18; 'cc:addr:python.org': 0.21; 'cc:2**1': 0.22; 'mind.': 0.22; 'see:': 0.22; '2015': 0.23; 'header:In-Reply-To:1': 0.24; 'bugs': 0.27; 'received:se': 0.29; 'cc:no real name:2**1': 0.29; 'sense': 0.29; 'maybe': 0.31; "can't": 0.32; 'safely': 0.33; 'url:org': 0.36; 'there': 0.36; 'subject:: ': 0.37; 'charset:us- ascii': 0.37; 'starting': 0.38; 'tue,': 0.38; 'url:en': 0.39; 'your': 0.60; 'header:Message-Id:1': 0.62; 'note:': 0.67; 'received:89': 0.80; '+1000,': 0.84; 'url:latest': 0.84; 'url:readthedocs': 0.84; 'url:sandbox': 0.93 To: "Steven D'Aprano" cc: python-list@python.org, lac@openend.se From: Laura Creighton Subject: Re: Creating a reliable sandboxed Python environment In-Reply-To: Message from "Steven D'Aprano" of "Tue, 26 May 2015 17:10:30 +1000." <55641c67$0$12894$c3e8da3$5496439d@news.astraweb.com> References: <60b424a2-2273-42b2-b60c-92656af0afa5@googlegroups.com><55641c67$0$12894$c3e8da3$5496439d@news.astraweb.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <5853.1432626836.1@fido> Date: Tue, 26 May 2015 09:53:56 +0200 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [89.233.217.130]); Tue, 26 May 2015 09:54:01 +0200 (CEST) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1432626858 news.xs4all.nl 2837 [2001:888:2000:d::a6]:54185 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:91238 In a message of Tue, 26 May 2015 17:10:30 +1000, "Steven D'Aprano" writes: >My sense is that the only way to safely sandbox Python is to create your own >Python implementation designed with security in mind. You can't get there >starting from CPython. Maybe Jython? You get there starting with PyPy. see: http://pypy.readthedocs.org/en/latest/sandbox.html Note: this is not very heavily used. You may find bugs we don't know about yet. Laura