Translate

Why are Java applications blocked by your security settings with the latest Java?

SYMPTOMS

Starting with Java 7 Update 51, trying to run Java applications generates messages
  • Java applications are blocked by your security settings.
  • Missing Application-Name manifest attribute
  • Missing required Permissions manifest attribute in main jar

CAUSE


Java has further enhanced security to make the user system less vulnerable to external exploits. Starting with Java 7 Update 51, Java does not allow users to run applications that are not signed (unsigned), self-signed (not signed by trusted authority) or that are missing permission attributes.

Risks involved in running applications



Unsigned applicationAn application without a certificate (i.e. unsigned apps), or missing application Name and Publisher information are blocked by default. Running this kind of application is potentially unsafe and present higher level of risk.

Self-signed application (Certificate not from trusted authority) : An application with self-signed certificate is blocked by default. Applications of this type present the highest level of risk because publisher is not identified and the application may be granted access to personal data on your computer.

Jar file missing Permission Attribute : Permissions Attribute verifies that the application requests the permission level that developer specified. If this attribute is not present, it might be possible for an attacker to exploit a user by re-deploying an application that is signed with original certificate and running the application at a different privilege level.

WORKAROUND 


It is highly recommended not to run these types of applications. However if you still want to run these apps, run only if you understand the risks and implications.
As a workaround, you can use the Exception Site list feature to run the applications blocked by security settings. Adding the URL of the blocked application to the Exception Site list allows it to run with some warnings.
Go to the Java Control Panel (On Windows Click Start and then Configure Java)
Click on the Security tab
Click on the Edit Site List button
Click Add in the Exception Site List window

WORKAROUND 

It is highly recommended not to run these types of applications. However if you still want to run these apps, run only if you understand the risks and implications.
As a workaround, you can use the Exception Site list feature to run the applications blocked by security settings. Adding the URL of the blocked application to the Exception Site list allows it to run with some warnings.
Steps to Add URLs to the Exception Site list
  1. Go to the Java Control Panel (On Windows Click Start and then Configure Java)
  2. Click on the Security tab
  3. Click on the Edit Site List button
  4. Click Add in the Exception Site List window
  5. Click in the empty field under the Location field to enter the URL
  6. Click OK to save the URL that you entered
  7. Click Continue on the Security Warning dialog





No comments:

Post a Comment