Ohhhh! Reverse Engineering!

Reply

Join Date: May 2007
Posts: 21
Reputation: sawant_nitesh is an unknown quantity at this point 
Solved Threads: 1
sawant_nitesh sawant_nitesh is offline Offline
Newbie Poster

Ohhhh! Reverse Engineering!

 
0
  #1
Sep 18th, 2009
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.

?
Sometimes one pays most for the things one gets for nothing - Albert Einstein
Reply With Quote Quick reply to this message  
Join Date: Feb 2006
Posts: 2,358
Reputation: masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of 
Solved Threads: 252
Moderator
masijade's Avatar
masijade masijade is offline Offline
Nearly a Posting Maven

Re: Ohhhh! Reverse Engineering!

 
0
  #2
Sep 18th, 2009
Originally Posted by sawant_nitesh View 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 ?
Of course. Provide a web service rather than a standalone application.

Originally Posted by sawant_nitesh View Post
Like in .Net framework, once .dll or .exe is built, noone can reach to source code.

?
Wrong.
Java Programmer and Sun Systems Administrator

----------------------------------------------

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 21
Reputation: sawant_nitesh is an unknown quantity at this point 
Solved Threads: 1
sawant_nitesh sawant_nitesh is offline Offline
Newbie Poster

Re: Ohhhh! Reverse Engineering!

 
0
  #3
Sep 19th, 2009
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 ?
Sometimes one pays most for the things one gets for nothing - Albert Einstein
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 823
Reputation: verruckt24 is a jewel in the rough verruckt24 is a jewel in the rough verruckt24 is a jewel in the rough verruckt24 is a jewel in the rough 
Solved Threads: 73
verruckt24's Avatar
verruckt24 verruckt24 is offline Offline
Practically a Posting Shark

Re: Ohhhh! Reverse Engineering!

 
0
  #4
Sep 19th, 2009
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.
Get up every morning and take a look at the Forbes' list of richest people. If your name doesn't appear.... GET TO WORK !!!
Reply With Quote Quick reply to this message  
Reply

Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC