DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Securing code

  1. #1
    Join Date
    Nov 2006

    Securing code

    Dear all

    I have this web application that has an applet and buch of java scripts. They all have the core functionality of the project. When i have the stuff on the web i can secure the content by configuring the server. But few clients would like the product on a cd. That is a problem for the security of my code because they can see it and reuse it. Is there any way to protect the code (applet and javascript) so the customer can use it but not be able to view it? Something like encryption? Any advice on that matter?


  2. #2
    Join Date
    Nov 2006
    hmmm i am not sure about java script, but normally you only give away java code in form of bytecode (the class files of your project - not the .java files -> this is the source). i am sure there are people who can rebuild the source form class files, but most of the time this is considered secure enough. maybe you can put them into a jar file. a friend of mine sometimes produces exe files from java code with the code warrior (there are other tools capable of that too). try to gain information on the net on that topic. you could also copyright your code to prevent misusage. write a license agreement or something. what many companies tend to do - make your customer dependant on you ;-)

    sorry not a complete answer this time, but better than nothing.

  3. #3
    Join Date
    Nov 2006

    The best securing option

    In the case when you are dealing with multiple customers in the enterprise world the most secure option you have is to put in the license agreement together with the product you are distributing. In that case you do not have to try and secure the code because any atempt to steal your code will result in a court case.

    I just wanted to post this on here for any other person that might face the same problem as i did. I ended up thinking too much along the way of encrypting the code but it is not needed. The solution is much more simple.


Similar Threads

  1. Microsoft's C++ bigotry
    By Phil Weber in forum .NET
    Replies: 632
    Last Post: 10-01-2003, 12:00 AM
  2. wot is CLR
    By lostguy in forum .NET
    Replies: 8
    Last Post: 04-03-2002, 07:41 PM
  3. .NET equals Efficiency
    By Kevin in forum .NET
    Replies: 150
    Last Post: 03-04-2002, 06:40 PM
  4. Replies: 3
    Last Post: 07-09-2001, 03:25 PM
  5. Another Language
    By Steven Bell in forum .NET
    Replies: 260
    Last Post: 06-01-2001, 04:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center