Sponsors: Michael Fertik - Best JAVA Web hosting Company & 30% off


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-21-2010, 03:38 PM
Member
 
Join Date: Jan 2010
Posts: 1
Rep Power: 0
sprateek is on a distinguished road
Default Struts application on Intranet
Hello All,

I want to develop a web application in java struts. But unfortunately my client is saying me to install it on his intranet server. I dont now how can I protect my code. Anybody who knows basic java can get the code and decompile it and use it (And he do not need to do anything for JSPs ... ).

Please tell me how can I protect my code.

Regards,
Ron
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 01-21-2010, 03:49 PM
Senior Member
 
Join Date: Apr 2009
Posts: 2,111
Rep Power: 4
Tolls is on a distinguished road
Default
You're being paranoid.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 01-21-2010, 04:28 PM
FON FON is offline
Senior Member
 
Join Date: Dec 2009
Location: Belgrade, Serbia
Posts: 307
Rep Power: 1
FON is on a distinguished road
Default
You can protect your code using obfuscators.

Here is link for free solutions:

Open Source Obfuscators in Java

If someone decompiles your bytecode (check online utilities for this!)
he can extract a lot of info about your code,
so be sure your obfuscator removes
all useful comments
and refactor all classes and methods to some meaningless
and long names that are hard to understand.

Once you obfuscate your code, decompile it to see result,
notice a lot of trash code with no functionality at all,
which obfuscator added to your src code just to make it harder to read.

good luck!
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 01-22-2010, 08:25 AM
Senior Member
 
Join Date: Apr 2009
Posts: 2,111
Rep Power: 4
Tolls is on a distinguished road
Default
Still utterly pointless.
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Exception in Struts Application shuklajayb Web Frameworks 1 02-20-2009 07:21 AM
URL Problem with IE7 in my struts Application SreenivasGurramkonda Web Frameworks 0 11-27-2008 08:14 AM
Intranet: I need help kwesiaryee New To Java 4 10-13-2008 05:44 PM
Setup a Struts 2 application JavaForums Java Blogs 1 09-12-2008 08:20 AM
Struts 2.x sample application .......? prabhurangan Web Frameworks 7 06-26-2008 10:50 AM


Java Forums is supported by the best jsp hosting.

All times are GMT +2. The time now is 05:30 AM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org