Re: A general doubt



Rock Roll wrote:
Michael Morin wrote:

You can't really do that, the best you can do is obfuscation. Even
then, a skilled person can de-obfuscate the code or otherwise reverse
engineer it. All you do is raise the bar a little bit, you don't
prevent anyone from doing anything.

Strictly speaking, all software is open source. You cannot hide the
source code to your application, only translate it into something less
human readable. Also, in almost all cases, preventing someone from
reading the code in the first place is a useless endeavor. Only where
something like trade secrets and industrial espionage is a factor does
hiding your source code make sense.


Thank you. But when a hacker who knows the internals of the software
gets access to the software in an End user's computer, and if he changes
the code after getting root access wont that harm the user's computer
and when he knows that the software is damaged or causing some trouble
wont he blame the makers

If a "hacker" has write access to your end user's files (including the
program you gave them), they can change it however they want. There's
nothing you can do there. There are some methods involving
cryptographically signed binaries and such, but there are always way
around it.

Like I said before, there isn't much you can do about things like this.
This is also not a problem unique to Ruby, all computer code suffers
from this "problem."

--
Michael Morin
Guide to Ruby
http://ruby.about.com/
Become an About.com Guide: beaguide.about.com
About.com is part of the New York Times Company

.



Relevant Pages

  • Re: [RANT] Error messages - was: [OT] Bug in ruby?
    ... from the structure of the source code. ... So it looks like Ruby does this occasionally itself. ... should be the job of the interpreter to provide possibly ... for example) to provide heuristic diagnostics. ...
    (comp.lang.ruby)
  • [QUIZ] Testing DiGraph (#73)
    ... The three rules of Ruby Quiz: ... Please do not post any solutions or spoiler discussion for this quiz until ... get the source code and start the white-box phase. ...
    (comp.lang.ruby)
  • Re: Digital signing of Ruby scripts
    ... It's not copy protection that I'm worried about. ... *tampering* with the source code. ... admin can install the Ruby interpreter, which is signed and only an admin ... Are you trying to address security concerns or copy protection / ...
    (comp.lang.ruby)
  • Re: In order to cross platform, Ruby is designed to be interpreted in runtime, so Ruby code is expo
    ... Ruby injection is likely easier and more powerful ... If I'm able to read source code in a, hopefully, protected directory, ... There's security, ... Phillip Gawlowski ...
    (comp.lang.ruby)
  • Re: newbie; needs direction
    ... I've studied the grammar of the language already, I found it easy, and ... I already studied ruby-dbi's source code. ... Welcome to Ruby! ... RMagick 2: http://rmagick.rubyforge.org/rmagick2.html ...
    (comp.lang.ruby)