On Fri, Jan 11, 2013 at 4:31 PM, Arup Rakshit <[email protected]> wrote: > The variable $SAFE determines Ruby's level of paranoia. Now it has 5 > different values to protest against "Security Vulnerabilities". Now Can > any present some real time scenarios by which it can be easily
Do you mean "real world" scenarios? > understandable how the $SAFE defined values performing for which they > are set or when should we set what value out of 5? A bit dated but probably still mostly correct http://www.ruby-doc.org/docs/ProgrammingRuby/html/taint.html > Now also in what situation we should think of lowering the SAFE level > values or increasing the same? You cannot lower it - for security reasons. Typically you will create a separate thread increase $SAFE there and do the potentially harmful operations that you want to guard. Kind regards rpbert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/ -- You received this message because you are subscribed to the Google Groups ruby-talk-google group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at https://groups.google.com/d/forum/ruby-talk-google?hl=en
