How can I cancel following warning?
Allow access to the following application from this web site?:
Screenshot: http://i.imgur.com/sXN5mLZ.jpg
Answer. In Java Control Panel, under the Security tab, set the Security Level to Medium.
Setting the Security levels through the Java Control PanelIn the Java Control Panel, click on the Security tab. Select the desired Security level. Click Apply. Click OK to save changes made to the Java Control Panel.
Enable Java in the browser through the Java Control PanelIn the Java Control Panel, click the Security tab. Select the option Enable Java content in the browser. Click Apply and then OK to confirm the changes. Restart the browser to enable the changes.
When the "Security Warning" window asking "Do you want to run this application?" appears, if there is a "I accept the risk and want to run this app." option, checkmark it ON first then --> Click the "Run" button. The Java applet should load OK now. You may need to click on it to start it.
I also spent few days finding a solution for this problem as well. And finally today hoping that this resolves our problem as we are still waiting for our applets to be signed by our client.
For our case the solution that works based on our internal testing is to remove the Trusted-Library attribute from MANIFEST.
You may follow this link
JAR File Manifest Attributes for Security
The issue that you are facing is described here. The solution, assuming that you are serving the applet from a known location, is to specify the Caller-Allowable-Codebase attribute in your manifest.
According to the documentation, if you are not doing live connect from a known location, then you should be able to specify Caller-Allowable-Codebase: *
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With