[issue8680] Add a sandbox in Distutils2

2014-03-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- resolution: - out of date stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8680 ___

[issue8680] Add a sandbox in Distutils2

2010-11-06 Thread th3flyboy
th3flyboy th3fly...@gmail.com added the comment: Hey, even if it's not perfect, it would be nice to at least see partial sand boxing in Python, rather than none at all. I'm working on an open source game project that uses Python, but recently the issue of security came up involving using

[issue8680] Add a sandbox in Distutils2

2010-11-06 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: We’re saying the same thing :) It all depends on the promise: If you’re making a best-effort sandbox, you’re trying to do the best you can, in cooperation with your users. For a game, I think you want an iron-clad sandbox that is totally

[issue8680] Add a sandbox in Distutils2

2010-11-06 Thread th3flyboy
th3flyboy th3fly...@gmail.com added the comment: Cool, thanks for that link, that should really help. One quick question however, do you or anyone else know if that will work under Python 3, we currently use 2, however it would be nice to be able to future proof for moving to 3. --

[issue8680] Add a sandbox in Distutils2

2010-11-06 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I think there is some py3 support in pysandbox, but I’m not sure, and this discussion is off-topic for this bug tracker. If you don’t find anything in the links on the pysandbox page, feel free to ask on the python-list mailing list.

[issue8680] Add a sandbox in Distutils2

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- versions: +3rd party -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8680 ___

[issue8680] Add a sandbox in Distutils2

2010-09-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I talked a bit about that with haypo. A strong sandbox would have to intercept a number of C and Python calls to catch everything. The sandbox module in setuptools/distribute does that in 250 lines. I’m not sure it catches C code run from

[issue8680] Add a sandbox in Distutils2

2010-05-14 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: What kind of sandbox should that be? Best-effort, meaning it replaces some functions to provide the dry-run feature, or an iron-clad sandbox that blocks malicious code from breaking out? -- nosy: +merwok versions: +Python 2.5, Python

[issue8680] Add a sandbox in Distutils2

2010-05-11 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: -- nosy: +meatballhat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8680 ___ ___ Python-bugs-list

[issue8680] Add a sandbox in Distutils2

2010-05-10 Thread Tarek Ziadé
New submission from Tarek Ziadé ziade.ta...@gmail.com: Add a sandbox in distutils2, so all installation steps can be recorded or controlled. Usage example: a dry-run mode that prevents anything to be written on the disk but just reports. See setuptools.sandbox for example --