This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes How to prevent class file from decompiling? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to prevent class file from decompiling?" Watch "How to prevent class file from decompiling?" New topic
Author

How to prevent class file from decompiling?

david
Greenhorn

Joined: Jul 02, 2002
Posts: 1
hello!!
How to prevent class file from decompiling?
thanks
david
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
For time to time people produce "obfuscators" which attempt to make the contents of class files less readable, but you can never prevent decompilation completely.
Why do you feel you need to do this ?


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
Welcome to the JavaRanch! Please adjust your display name to meet
the JavaRanch Naming Policy. You can change it here.
Thanks!
and welcome to the JavaRanch!
matt hooker
Ranch Hand

Joined: Jul 26, 2001
Posts: 46
You can use a professional obfuscation tool such as Dash-O-Pro which will render any decompiled class pretty much un-readable (apart from to the odd UberGeek or two) but there are drawbacks
1) Very Expensive
2) For every Obfuscator - there is a De-Obfuscator in the pipeline


Its not what you do, its the way you say you've done it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to prevent class file from decompiling?
 
Similar Threads
protecting .class file from decompilation
Protecting the java source code
prevent decompiling
Decompile
password encrypt