"Security Managers" in Ruby?

  • Thread starter John Pritchard-Williams
  • Start date
J

John Pritchard-Williams

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
 
A

Avdi Grimm

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top