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
understandable how the $SAFE defined values performing for which they
are set or when should we set what value out of 5?
Now also in what situation we should think of lowering the SAFE level
values or increasing the same?
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?
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.
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?
Yes i was looking for “real world” scenarios,so that i can get the core
value of this topic in my nerve.
Really interested to know about this one. When we need to think of such
concept,how to use and if not used what can be happened and when used
how the risk can be optimized/removed - that’s all my i am eager to
know.