Ruby/Python/REXX as a MUCK scripting language

Stephan Kuhagen nospam at domain.tld
Sat Nov 25 03:52:42 EST 2006


Tony Belding wrote:

> Is this practical?  I'm thinking of Ruby or Python for this, if they
> can meet the requirements.

Python had a sandbox module, but is was discarded because of security
problems.

If you want it working on MacOS, you may also have a look at Tcl, which has
a long tradition on MacOS and it comes with a very good implemented and
fully customizable sandbox. For a starting point, if Tcl sandbox meets your
requirements, have a look here:

Safe Tcl Overview: http://www.tcl.tk/software/plugin/safetcl.html
Docs about the specific Tcl commands, to create safe interpreters:
http://www.tcl.tk/man/tcl8.4/TclCmd/interp.htm (See in the lower third of
the page at "Safe Interpreters")
http://www.tcl.tk/man/tcl8.4/TclCmd/safe.htm

Regards
Stephan



More information about the Python-list mailing list