Solved

How to prove the security for a class file in war with out effecting the functionality?

Posted on 2014-01-21
2
293 Views
Last Modified: 2014-01-24
We wanted to provide the security for the class file in the war file, beuase if you share the war file to customer he can open and see our code by using some de-compiler available in the market. So i want to restrict that, how can i encrypt that class or any some other way to avoid that lap. And that new war(After enabling the security), it should be executed by the web/application server.

Kindly help me.
0
Comment
Question by:prabhualla
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Accepted Solution

by:
Mahesh Bhutkar earned 500 total points
ID: 39799185
You can obfuscate your classes. There are various tools available.

Have a look at IzPack
http://java-source.net/open-source/installer-generators

and obfuscators
http://java-source.net/open-source/obfuscators

yguard is ok
http://www.yworks.com/en/products_yguard_about.htm

klassmaster will give you better protection
http://www.zelix.com/klassmaster/index.html?id=C01
0
 

Author Closing Comment

by:prabhualla
ID: 39806390
Thanks for the solution.
0

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
A solution for Fortify Path Manipulation.
The viewer will learn how to implement Singleton Design Pattern in Java.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

623 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