Results 1 to 4 of 4
  1. #1
    sprateek is offline Member
    Join Date
    Jan 2010
    Posts
    2
    Rep Power
    0

    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

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,792
    Rep Power
    19

    Default

    You're being paranoid.

  3. #3
    FON
    FON is offline Senior Member
    Join Date
    Dec 2009
    Location
    Belgrade, Serbia
    Posts
    364
    Rep Power
    5

    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!

  4. #4
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,792
    Rep Power
    19

Similar Threads

  1. Exception in Struts Application
    By shuklajayb in forum Web Frameworks
    Replies: 1
    Last Post: 02-20-2009, 07:21 AM
  2. URL Problem with IE7 in my struts Application
    By SreenivasGurramkonda in forum Web Frameworks
    Replies: 0
    Last Post: 11-27-2008, 08:14 AM
  3. Intranet: I need help
    By kwesiaryee in forum New To Java
    Replies: 4
    Last Post: 10-13-2008, 05:44 PM
  4. Struts 2.x sample application .......?
    By prabhurangan in forum Web Frameworks
    Replies: 7
    Last Post: 06-26-2008, 10:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •