Hai Friends a Interesting Topic Java Class files can be easily Decompiled using the decompiles like JAD etc., Is there anyway to restrict decompiling .class files. I want to restrict my java code. ie., other should not decompile my class files. Is there any solution to restrict decompiling..at anyof the way. ?? pl tell me. Thanks in advance Yours Rajesh
Joined: Dec 10, 2001
if you are distributing the software to others, you can wrap your classes in a install shield, that way the user can't see the class files directly.
Chicken Farmer ()
Joined: May 08, 2001
There is also a tool out there called Crema, created by the same person who developed Mocha, a Java decompiler. Crema basically scrambles any code that is decompiled, so that it is not reusable. I haven't used Crema myself, but if you do a search on it from your favorite search engine, I am sure you will find links on where to download it. Jason
Joined: Jul 26, 2001
There are many tools that perform Obfuscation of java classes. Most of the larger java products you will find use DashO Pro .. this is pretty much the industry standard as far as obfuscation tools go. Many of the 'free' tools will make code a bit of a pain to view when decompiled, but seldom do a sufficient job to greatly hinder a determined code spy .... But hey, why would you want to decompile and view that code anyway ...... I'm watching you
Its not what you do, its the way you say you've done it.