Defining Program Protection Details for Java Executables
You define protection details for Java executables in the Protection Details screen.
To define the Protection Details for JAR executables:
1.In the Project pane, click on the name of a JAR or WAR executable. The Protection Details screen is displayed in the Display pane.
2.If required, edit the Input file and Output file fields.
3.If required, specify additional protection parameters.
4.Click the Protect icon in the toolbar, or the Protect button, to protect the selected program.
Global Java Executable protection settings
The protection parameters in the Protection Details screen are as follows:
Input file |
The directory in which the executable you are protecting is located. By default, the directory from which you added the program to the project. |
Output file |
Specify the directory where the protected output will be saved. |
Protection Key Version |
The version of Sentinel protection key to be used for protection. (Currently, only Sentinel). |
Protection Key Search Mode |
Specify the access mode for the Sentinel protection key. Determines which search mode the protected program will use to search for the required Sentinel protection key. If
you have selected the Enable
Custom Protection Key Login Scope check box in the
Advanced tab, this
field is disabled.
|
Select a Feature ID for the entire Java program you are protecting. You can select the Feature by its name in the Name field. At run-time, the protected program will search for the assigned Feature ID in the Sentinel protection key. If your application will be distributed with Sentinel
HL Basic keys, you can use only the default Feature (Feature
ID 0) to protect your program.
|
|
Name |
(Sentinel LDK-EMS only) The unique name of the Feature, as defined in the Sentinel LDK-EMS catalog. The
Feature name field is only displayed when you are connected
to the Sentinel LDK-EMS Server.
|
General Tab
The General tab is displayed by default. Using this page, you can select the protection type to use for the application (method level, class level, or both).
If you select method level (or both), you can use this page to select specific methods to protect, and assign method properties to specific methods.
NOTE When only a subset of methods in a Java application are protected, the application may run even if the Sentinel HL key is not connected. The key is only checked when a protected method is called. Similarly, the background checks only start when the first protected method is called. If you want to prevent any use of the application when the Sentinel HL key is not connected, be sure to protect a method that is called as part of the startup of the application.
Advanced Tab
Click the Advanced tab to display the Advanced Protection Details information. When advanced protection details are specified for the current program entry, an icon is displayed to the left of the Advanced tab name.
Protection Settings Tab
Click the Protection Settings tab to display the protection settings information.
Class Level Tab
You can use the Class Level tab to select specific classes to protect, and assign Feature IDs to specific classes.
NOTE When only a subset of classes in a Java application are protected, the application may run even if the Sentinel HL key is not connected. The key is only checked when a protected class is called. Similarly, the background checks only start when the first protected class is called. If you want to prevent any use of the application when the Sentinel HL key is not connected, be sure to protect a class that is called as part of the startup of the application.
Related Topics
Java Prerequisites and Considerations