943,853 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 505
  • Java RSS
Sep 18th, 2009
0

Ohhhh! Reverse Engineering!

Expand Post »
There are many Java Decompilers which can decomile .class file to .java file revealing the source.

Is there any way to prevent this reverse engineering ?

Like in .Net framework, once .dll or .exe is built, noone can reach to source code.

?
Similar Threads
Reputation Points: 19
Solved Threads: 3
Light Poster
sawant_nitesh is offline Offline
27 posts
since May 2007
Sep 18th, 2009
0

Re: Ohhhh! Reverse Engineering!

There are many Java Decompilers which can decomile .class file to .java file revealing the source.

Is there any way to prevent this reverse engineering ?
Of course. Provide a web service rather than a standalone application.

Like in .Net framework, once .dll or .exe is built, noone can reach to source code.

?
Wrong.
Moderator
Reputation Points: 1471
Solved Threads: 490
Industrious Poster
masijade is offline Offline
4,043 posts
since Feb 2006
Sep 19th, 2009
0

Re: Ohhhh! Reverse Engineering!

Yes that's one of the way.
But in case if i don't have option of web service. If I can't give SaaS. I have to handover .class files to customers.
Then in such a case what to do ?
Reputation Points: 19
Solved Threads: 3
Light Poster
sawant_nitesh is offline Offline
27 posts
since May 2007
Sep 19th, 2009
0

Re: Ohhhh! Reverse Engineering!

Firstly languages such as Java do not offer such "consealing" feature cause they are not meant to be used that way. Secondly as masijade has rightly pointed out executables are not all safe. Though it requires good knowledge of such they can be broken too.
Read about obfuscation and what it does in order to make your code "unfriendly" or harder to understand to others. But this too isn't 100% safe rather quite far from it.

The only way to protect such source code is through the use of appropriate licenses that prohibit others from using your code in a way different from the one you intend them to use.

This has been well mentioned by the then moderator and current super mod s.o.s and masijade in a previous thread, you can find it if you want.
Reputation Points: 485
Solved Threads: 89
Posting Shark
verruckt24 is offline Offline
944 posts
since Nov 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: does not equal operator for STRINGS
Next Thread in Java Forum Timeline: java jbuttons





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC