[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How do I protect a jar file from tampering?

Posted on 2006-05-08
6
Medium Priority
?
341 Views
Last Modified: 2008-03-03
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
0
Comment
Question by:richardsimnett
4 Comments
 
LVL 9

Accepted Solution

by:
Manikandan Thiagarajan earned 500 total points
ID: 16628678
0
 
LVL 92

Assisted Solution

by:objects
objects earned 500 total points
ID: 16628729
0
 
LVL 30

Assisted Solution

by:Mayank S
Mayank S earned 500 total points
ID: 16629210
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
 
LVL 14

Assisted Solution

by:hoomanv
hoomanv earned 500 total points
ID: 16631781
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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses
Course of the Month19 days, 15 hours left to enroll

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question