aspose file tools*
The moose likes Java in General and the fly likes How To Protect Your class file from Decompilation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How To Protect Your class file from Decompilation" Watch "How To Protect Your class file from Decompilation" New topic
Author

How To Protect Your class file from Decompilation

Gowher Naik
Ranch Hand

Joined: Feb 07, 2005
Posts: 643
hi
there are many powerfull decompilers present on net.is it possible to protect class file from decomplilation in java.i know there are some tools which can protect class file from decompilation.i want to know is there security system present in java which can protect class file from decompilation.or i have to write some code to protect my class file.
thanks
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
You can google the net for "obfuscation" and learn more about this. Here you go.


Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
Frank Ertl
Ranch Hand

Joined: Apr 25, 2005
Posts: 59
Hi,

there's a tool called key4J (www.key4j.de) that encrypts your bytecode and decrypts it with its own classloader implementation. This makes things quite secure.
But you should always be aware that no code is safe from cracking
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How To Protect Your class file from Decompilation