• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to prevent class file from decompiling?

 
david
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello!!
How to prevent class file from decompiling?
thanks
david
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic