pycam
pycam copied to clipboard
Python sandbox for public servers
The server mode allows execution of arbitrary python code, thus it could be harmful for providers of public PyCAM servers. A kind of sandbox would be helpful. Maybe one of the following projects could be useful:
- http://pypi.python.org/pypi/apipkg
- http://pypi.python.org/pypi/RestrictedPython/
- http://code.google.com/intl/de/appengine/docs/python/runtime.html
Are public servers a good idea at all?
Probably not. I just wanted to conserve the thought.
There is a PyPy version that offers sandboxing: https://pypy.org/download.html#other-versions https://bitbucket.org/pypy/pypy/downloads/pypy-1.8-sandbox-linux64.tar.bz2