Friday, 4 July 2014

security exception missing required permissions manifest


Starting with Java 7 Update 51, trying to run Java applications in IE or other browsers may generates error message like
"security exception missing required permissions manifest"
The application that you are running is blocked because the application does not comply with security guidelines implemented in Java 7 Update 51.
If you trust the source of application, apply following workaround and it will load the applet or java application you are trying to load. Please note that if you don't trust the source, contact the application owner or developer and ask them to fix the issue. You must understand Risk and Cause of running this kind of application.

To run this application, you need to add the site url in exception list in Java Control Panel. Follow this steps

Add url to Exception Site list


  • 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

  • Now reload the page...You will be able to see the application loading.

    So What caused this?

    Well according to Java website following cause is explained.

    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.


    • Unsigned application
      An 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.

    Ref: https://www.java.com/en/download/help/java_blocked.xml

    No comments :

    Post a Comment