signed applet gives AccessControlException: access denied, when calling from javascript

后端 未结 4 2095
名媛妹妹
名媛妹妹 2020-12-11 08:21

I have an easy self-signed an applet (done with keytool and the jarsigner):

public class NetAppletLauncher extends JApplet {

    private static final long s         


        
4条回答
  •  一个人的身影
    2020-12-11 08:39

    I agree : it is prohibited to manipulate a signed applet from javascript, and the workaround is to rewrite the applet tag in javascript in the page document.

    I found this source with a bit of theory proving we are right http://docs.oracle.com/javase/tutorial/deployment/applet/security.html#jsNote

提交回复
热议问题