The choice of a scripting language for a project sandbox?

Is (will) the project is likely to opensource, most likely in python.

There was a need to make the whole project modular.

BUT, there is a task you must select each module in your sandbox, no free access except for the supplied modules must have (neither to the system nor access the files nor to the created objects). For called methods necessary to control what the other module was a challenge.


The question is, will it be sufficient to check the set of plug-ins in a source file? If not, are there projects run python scripts in a sandbox with access to these modules and units of this project in python?


Another question in addition to whether the relevant javascript sandbox with controlled access to objects created in python?


p.s. c++, c#, java, as far as I know, such a sandbox is



upd. it seems all sad, for python there are no mechanisms to create a vm and provision of controlled access to internal objects and classes -- here a new question...
October 8th 19 at 00:09
3 answers
October 8th 19 at 00:11
You gave up too early. For example github.com/haypo/pysandbox
October 8th 19 at 00:13
Oh a difficult task. You may want the actual mapping towards service-oriented architecture application? And obmenivatsa data between services as the standard. And each of the services to run in your virtualenv.
October 8th 19 at 00:15
PS this sandbox is, even for PHP.

Find more questions by tags PythonAccess rightsJavaScript