Re: Executing untrusted scripts in a sandboxed environment
On Oct 5, 2012, at 6:32 PM, Robin Krahl <firstname.lastname@example.org> wrote:
> Hi all,
> I need to execute untrusted scripts in my Python application. To avoid security issues, I want to use a sandboxed environment. This means that the script authors have no access to the file system. They may only access objects, modules and classes that are "flagged" or "approved" for scripting.
> I read that I will not be able to do this with Python scripts. (See SandboxedPython page in the Python wiki  and several SE.com questions, e. g. .) So my question is: What is the best way to "embed" a script engine ina sandboxed environment that has access to the Python modules and classes that I provide?
Checkout udacity.com I think there is a writeup on stackoverflow on
how they accomplished their sandbox runtime env.
> Thanks for your help.
> Best regards,
>  http://wiki.python.org/moin/SandboxedPython
>  http://stackoverflow.com/questions/3...in-pure-python
|All times are GMT. The time now is 05:52 AM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.