Bookmark Topic Watch Topic
  • New Topic

Anti decompiling source code  RSS feed

 
Murad Iqbal
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi all, I now understand there are several Java decompilers that simply reverse your classes to the source code. What prevention do we as programmers have to keep this evil away as this is a big threat to copyright. How can I write my code in a way that it cannot be decompiled, is this possible?

Murad.
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Report post to moderator
Don't post the same question in multiple forums.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Report post to moderator
Actually, it's not a threat to the copyright. The license the software is distributed under should make it clear what's allowed and what's not allowed (decompiling is almost never allowed), but the copyright will always remain with the original rights-holder.

A technically sophisticated user will be able to recover most or all of the original source. You can make it harder to do something useful with the result by using an obfuscator like ProGuard or Dash-O.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!