E
Ehsanul Hoque
I'd like a sandbox that simply disallows system calls=2C like creating file=
s etc=2C so that anybody can supply some code that can be eval-ed within th=
e sandbox=2C with no known potential for harm.
I know about safe levels=2C but I googled it and there was some discussion =
about how there were ways to thwart that. I also found this=2C which seems =
quite nice: http://github.com/tario/shikashi
But I have yet to get that working. Are there any other ways to go about th=
is? Perhaps there are other ways in JRuby? I'd just like to allow the sort =
of operations you'd need for most algorithms=2C so all the usual methods of=
arrays=2C numbers=2C hashes and strings basically=2C and perhaps some sele=
cted custom classes. It would also probably be nice if you could somehow li=
mit the memory/cpu taken up by the code in the sandbox=2C if that's at all =
possible. =20
_________________________________________________________________
The New Busy is not the old busy. Search=2C chat and e-mail from your inbox=
s etc=2C so that anybody can supply some code that can be eval-ed within th=
e sandbox=2C with no known potential for harm.
I know about safe levels=2C but I googled it and there was some discussion =
about how there were ways to thwart that. I also found this=2C which seems =
quite nice: http://github.com/tario/shikashi
But I have yet to get that working. Are there any other ways to go about th=
is? Perhaps there are other ways in JRuby? I'd just like to allow the sort =
of operations you'd need for most algorithms=2C so all the usual methods of=
arrays=2C numbers=2C hashes and strings basically=2C and perhaps some sele=
cted custom classes. It would also probably be nice if you could somehow li=
mit the memory/cpu taken up by the code in the sandbox=2C if that's at all =
possible. =20
_________________________________________________________________
The New Busy is not the old busy. Search=2C chat and e-mail from your inbox=