K
Kless
Is secure use constants?
I come from Python and it isn't recommended there.
I come from Python and it isn't recommended there.
Kless said:Is secure use constants?
I come from Python and it isn't recommended there.
What do you mean by "secure"? Neither Ruby nor Python are secure from reverse
engineering, because all the source is hanging out visible for all to see!
Use constants to avoid repeating a literal with the same meaning, such as'42',
in various locations in your code.
What do you mean by "secure"? Neither Ruby nor Python are secure from reverse
engineering, because all the source is hanging out visible for all to see!
loolek said:private static final int 42;
Or something like this...
loolek said:"Don't worry about your constants changing."
My job is -> be full secure !!!
So, i am worring about this -> "small ruby leak"....
Do you need a case study -> for this "bad" situation, becouse a week
constant guarding (for example in C)?
loolek said:"Don't worry about your constants changing."
My job is -> be full secure !!!
bad thing can you do with Ruby constants?
loolek said:"What kind of bad thing can you do with Ruby constants? "
I think this is not the question of ruby. Imagine this -> there is a
constant that holds the value that triggers the cooler sticks in a
nuclear power plant. Than the bad guy "overwrites" it, what comes
next ?
"What kind of bad thing can you do with Ruby constants? "
I think this is not the question of ruby. Imagine this -> there is a
constant that holds the value that triggers the cooler sticks in a
nuclear power plant. Than the bad guy "overwrites" it, what comes
next ?
Are you sure, you will be ingnorant if you where living in the next
city from the plant ?
Is secure use constants?
I come from Python and it isn't recommended there.
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.