Contents
As of the JDK 7u10 release, a user may control, via the Java Control Panel, the level of security that will be used when running unsigned (also called "untrusted" or "sandboxed") Java apps in a browser. The user may select from five levels of security, including disabled, where no apps are allowed to run in the browser.
These security levels apply to running Java in the browser, which includes plugin applets, Java Web Start applications, embedded JavaFX applications, and access to the native deployment toolkit plugins. Setting the security level does not affect stand alone applications. Note that applets and these various types of applications are collectively referred to as apps or Java apps.
Before the browser plugin software attempts to run a Java app, it verifies that the JRE version is at or above the security baseline for that family and that the age of the JRE is recent. If the JRE is deemed expired or insecure, additional security warnings are displayed. In most of these dialogs, the user has the option to block running the app, to continue running the app, or to go to java.com to download the latest release.
For installations where the highest level of security is required, it is possible to entirely prevent any Java apps (signed or unsigned) from running in a browser by de-selecting Enable Java content in the browser in the Java Control Panel under the Security tab.
Note: These settings affect all browsers that use Oracle's Java browser plug-in. They do not affect desktop (also called stand alone) Java apps.
A Security Level slider has been added to the Java Control Panel (under the Security tab) to control the behavior when attempting to run unsigned apps (either from the web or local). The user can select low, medium, high or very high security settings. There are fewer security warnings at the lowest setting. While it is called the "Security Level control" (or slider), it can be thought of as the ability to control the level of notification you will receive when the browser attempts to run unsigned Java apps.
The following list summarizes the behavior of the different levels:
The default security level is High.
Additionally, there are two checkboxes available in the Java Control Panel (under the Advanced tab) that are relevant to unsigned apps:
Note that the security options for trusted signed and self-signed apps has not changed in the 7u10 release. These options were available prior to the 7u10 release.
To select the behavior when attempting to run trusted signed or self-signed apps, there are several checkboxes available in the Java Control Panel (under the Advanced tab):
In the JDK 7u10 release, new arguments for command line installation support setting the security level for Java in the browser. Admin privileges are required to install the JRE. Note that, in the 7u10 timeframe, these arguments are available only on Microsoft Windows.
After installation of the JRE, verify the security level settings in the Java Control Panel.
This information also applies to untrusted apps that have signed trusted extensions, but not to signed trusted apps that have unsigned unstrusted extensions. For more information, see Mixing Signed and Unsigned Code.