Java applet manifest - Allow all Caller-Allowable-Codebase

后端 未结 16 2522
暗喜
暗喜 2020-11-28 02:10

As of Java 7u45 an applet will display a warning message (even if signed with a trusted cert) if a webpage tries to interact with it via javascript and that page isn\'t list

16条回答
  •  天涯浪人
    2020-11-28 02:50

    if you make a Manifest patch file remember to live an empty line in the end, otherwise it won´t work. For example you can make a patch like:

    Permissions: all-permissions
    Codebase: *
    Application-Library-Allowable-Codebase: *
    Caller-Allowable-Codebase: *
    

    But you need to add an empty line (in the example 5 lines instead of four!)

    And then add it to the manifest:

    jar uvfm jarName.jar permissions.txt
    

提交回复
热议问题