"Security Managers" in Ruby?

I’m a newbie: I’m inevitably comparing Ruby with Java (whether this is
healthy or wise thing to do I don’t know…) - but I have not seen any
documentation on whether or not Ruby (as in the interpreter /
platform, not the language itself) has the concept of a ‘security
manager’ - something to restrict untrusted code.

For instance, (without certifications) Java Applets are not allowed to
do certain stuff - like access local filestore, or open up n/w
connections (apart from back to source) - is there an equivalent
concept in Ruby ?

Thanks

John

On Mon, Mar 3, 2008 at 4:58 PM, John Pritchard-Williams
[email protected] wrote:

For instance, (without certifications) Java Applets are not allowed to
do certain stuff - like access local filestore, or open up n/w
connections (apart from back to source) - is there an equivalent
concept in Ruby ?

It’s the $SAFE variable.