[Python-Dev] Reviving restricted mode? (original) (raw)

Victor Stinner victor.stinner at gmail.com
Mon Jul 21 21:36:09 CEST 2014


Hi,

2014-07-21 21:26 GMT+02:00 matsjoyce <matsjoyce at gmail.com>:

Sorry about being a bit late on this front (just 5 years...), but I've extended tav's jail to module level, and added the niceties. It's goal is similar to that of rexec, stopping IO, but not crashes. It is currently at https://github.com/matsjoyce/sandypython, and it has instructions as to its use. I've bashed it with all the exploits I've found online, and its still holding, so I thought the public might like ago.

I wrote this project, started from tav's jail: https://github.com/haypo/pysandbox/

I gave up because I know consider that pysandbox is broken by design. Please read the LWN article: https://lwn.net/Articles/574215/

Don't hesitate to ask more specific questions.

Victor



More information about the Python-Dev mailing list