Re: Security in use of contants
2008/8/18 loolek <balla.peter@gmail.com>:
> "$ ruby -e 'C = "once"; C = "oops"'
> -e:1: warning: already initialized constant C "
>
> Okay, but i don't decide yet to use ruby or not. So i have not
> installed Ruby so far...
Peter, in Ruby others can change almost everything that you have
written, and they can change it at runtime, without having access to
your code: constants, classes, methods, instance variables, and so on.
So I think Ruby isn't the right language for you.
Regards,
Pit
|