How do I protect a jar file from tampering?

Hello,
Is there anyway to encrypt or possibly "lock" a jarfile from tampering, and reading, yet still have it runnable by any supported JVM? I want to protect some of my work before I distribute it and want to know the best way to protect it from tampering, and reading.

Thanks,
Rick
richardsimnettAsked:
Who is Participating?
 
Mayank SAssociate Director - Product EngineeringCommented:
Well, you can protect it from reading an obfuscator. But you can't really protect it from getting tampered. People can always make your file corrupt by trying to modify it.
0
 
hoomanvCommented:
well, google these terms:      java + bytecode + "tamper proofing"
you'll find a lot on how to make your code tamper-resistant

also have look at this
http://www.chainkey.com/en/jcp/
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.