• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

decompilation of .class file to .java file

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi everybody,
With the help of decompilers avialable in market today u can get a source code of .class file or .jar files .
So if today i made some web-based application & i am going to give my .jar file to my client. He/she can make changes in that & create his own application unlike in an .exe file application.
Is there anyway to avoid this?
Vivek V. Bedekar
 
Ranch Hand
Posts: 358
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can't do anyting about that. BUt you can make your class files difficult to decompile suing any tools for obfuscation.
http://www.condensity.com/ http://www.preemptive.com/
 
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
write your ownl class loader which loads encrypted classes.
drawback here is that at somepoint you
a) need to store the password and deploy it with the app
b) you need to have an entry class which is not encrypted (and from this class people can start decompiling and decoding your files)
but together with obfuscating you can at least make it harder to get source files...
karl
 
vivek bedekar
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by karl koch:
hi,
write your ownl class loader which loads encrypted classes.
drawback here is that at somepoint you
a) need to store the password and deploy it with the app
b) you need to have an entry class which is not encrypted (and from this class people can start decompiling and decoding your files)
but together with obfuscating you can at least make it harder to get source files...
karl



How to encrypt the class file?
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Go to google.com
Enter the word "obfuscator".
Read the zillions of references that come back.
reply
    Bookmark Topic Watch Topic
  • New Topic