aspose file tools
The moose likes Java in General and the fly likes Security of the source code Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Security of the source code" Watch "Security of the source code" New topic
Author

Security of the source code

vrayudu kumar
Ranch Hand

Joined: Nov 20, 2003
Posts: 77
You write code in java and make it a class file....but
when you sell ur software to others ...do you
distribute the classfiles or some other things ???If
you distribute the classfiles then its easy for the
user to decompile the classfiles into sourcecode....I
mean how do u maintain the security for the source...
Sanju Thomas
Ranch Hand

Joined: Dec 29, 2004
Posts: 243
You can protect your source code through a process called Obfuscatoion. Number of free Obfuscators are available in the net. Plase search in the net for more details and Obfuscatoin techniques.
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
It's a common problem. Decompilers are pretty good. Obfuscators will slow somebody down, but don't count on keeping a proprietary algorithm secret from hackers or competitors that way.


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

Give away your classes with source code.
If the customer has the manpower and time to analyze it, he would have been able to write it himself.


http://home.arcor.de/hirnstrom/bewerbung
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Security of the source code
 
Similar Threads
How to pass -source 1.4 argument in Eclipse
Source code security
Updating Java program at runtime.
How to make EXE files in JAVA
security licence in java