Solve "Application blocked by security settings" message with unsigned applet (this howto is deprecated)Tag(s): DEPRECATED
The Java plugin refuses to run unsigned applets, starting with version 1.7u51. It shows the message "Application blocked by security settings", and no visible option to override this limitation.
To allow unsigned applets, you need to create a whitelist. If the unsigned applet is coming from one the websites specified in the whitelist then its execution will be permitted.
ManuallyThe whitelist is simple text file called exception.sites containing one URL per line.
For example, to allow the unsigned applets from rgagnon.com to execute, the file exception.sites will have this line :
%APPDATA%\Sun\Java\Deployment\securityfor XP, and
%USERPROFILE%\AppData\LocalLow\Sun\Java\Deployment\securityfor Win7. So if you are on Win7, create the text file exception.sites with the required line for rgagnon.com as mentioned above. Save the file in the directory
Go to this page to do a test with an unsigned applet. You will still have one security popup to click before running the applet.
Via the Java Control PanelThe Java Control Panel is not in the Control Panel of Windows any more, instead it is now in the Start Menu as "Configure Java" (java).
Go to the security tab, click on the "Manage Site List"
Click on "add" for each site you want to add to exception list.
A global 'exception.sites' for all usersThe above procedure can be cumbersome, especially in the enterprise environment since it is specific for one user. It is easier to have one global whitelist and make sure that every users are using it.
You declare the common location of the exception list in "Deployment Properties" file
%windir%\Sun\Java\Deployment\deployment.properties. If this .properties file doesn't exist
then you need to create it.
You add one property called
deployment.user.security.exception.sites, you specify the complete path
to the shared exception.sites file. Make sure to use "/" or "\\" as directory separator.
An interesting page on the subject with some possible issues for Firefox or Chrome.