Results 1 to 6 of 6

Thread: How to protect Java programs

  1. #1
    Join Date
    Feb 2010
    Posts
    532

    How to protect Java programs

    Hi all,

    I am a java developer, Java is a cross-platform, interpreted language. Java source code compiler intermediate "byte code" is stored in the class file. Class file is a byte-code form of intermediate code, the byte-code includes a lot of source code information, such as variable names, method names and so on. For me , how to protect the Java program has become a very important challenge ? Please suggest.

  2. #2
    Join Date
    Jan 2008
    Posts
    1,521

    How to protect Java programs

    The easiest way is to let users do not have access to the Java Class program, this method is the most fundamental way, specifically to achieve a variety of ways. For example, developers can be the key Java Class on the server side, the client interface by accessing the server related to access to services, rather than direct access to the Class file. So there is no way a hacker decompile Class file. Best of luck.

  3. #3
    Join Date
    Feb 2008
    Posts
    1,852

    How to protect Java programs

    In order to prevent the Class files are directly decompile, many developers will be some of the key Class file encryption, such as registration key, serial number and other management-related classes. These are encrypted using the class, the procedures first need to decrypt these classes, then these classes and then load them into the JVM. These classes decryption can be done in hardware, you can also use the software to complete. Check and reply.

  4. #4
    Join Date
    May 2008
    Posts
    2,389

    How to protect Java programs

    Switching costs to the program code is also an effective way to prevent anti-compiled. Because native code is often difficult to decompile. Developers can choose to convert the cost to the entire application code, a key module can also choose to convert. If you just converted a key part of the module, Java programs using these modules, you need to make calls using JNI technology. Check this process and reply.

  5. #5
    Join Date
    Oct 2005
    Posts
    2,393

    How to protect Java programs

    For the protection of Java programs, confusion technology or the most basic methods of protection. Java obfuscation tool is also very large, including commercial, free, open source. Sun also offers its own obfuscation tool. Most of them are confused on the Class file handling, there are few tools for dealing with the source code first and then to the Class for processing, so that the intensity of treatment increased the confusion. Check and reply.

  6. #6
    Join Date
    May 2008
    Posts
    2,297

    Re: How to protect Java programs

    I am also used Data confusion that is the confusion of data used by the program. There are many methods of confusion, the main changes can be divided into data storage and coding that is Store and Encode Transform, to change the data access that is Access Transform. Changes in data storage and program code can be interrupted using the method of data storage. Best of luck.

Similar Threads

  1. Replies: 4
    Last Post: 29-06-2013, 12:35 PM
  2. unable to install java programs in Nokia E71
    By Charmi Patel in forum Portable Devices
    Replies: 7
    Last Post: 03-08-2011, 12:01 AM
  3. Intranet with Java programs
    By New ID in forum Software Development
    Replies: 5
    Last Post: 02-03-2010, 12:39 PM
  4. Steps to make .exe file of the Java programs
    By Harper 21 in forum Software Development
    Replies: 5
    Last Post: 25-01-2010, 08:44 AM
  5. Replies: 7
    Last Post: 14-08-2009, 09:03 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,750,694,294.74755 seconds with 16 queries