[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

"Security Managers" in Ruby?

John Pritchard-williams

3/3/2008 9:58:00 PM

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

1 Answer

Avdi Grimm

3/3/2008 10:03:00 PM

0

On Mon, Mar 3, 2008 at 4:58 PM, John Pritchard-Williams
<monojohnny@googlemail.com> 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.

--
Avdi