Safe sandbox for running untrusted code

Jamie McLaughlin
SAIC
Office: 703-292-6307
Mobile: 571-263-2528

···

----- Original Message -----
From: s.korteling@gmail.com <s.korteling@gmail.com>
To: ruby-talk ML <ruby-talk@ruby-lang.org>
Sent: Tue Jun 03 04:00:44 2008
Subject: Re: Safe sandbox for running untrusted code

Ruben Fonseca wrote:

ara.t.howard wrote:

On Jun 2, 2008, at 9:12 AM, Ruben Fonseca wrote:

It this possible with the current VM (MRI 1.8)?

no.

you will need to combine using $SAFE=12 (ruby side) and ulimit/chroot
from the unix side (or similar).

hi! thanks for all your input!

so does anybody knows how http://tryruby.hobix.com/ does it?

Ruben

http://www.spoj.pl/info/ does this with 30 programming languages,
including Ruby. I don't know how.

regards,

Siep
--
Posted via http://www.ruby-forum.com/\.