加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > Java > 正文

OS X上的Java Web Start应用程序的不明开发人员

发布时间:2020-12-15 00:58:37 所属栏目:Java 来源:网络整理
导读:在Mac OS X 10.9签名的 Java Web Start应用程序默认阻止该消息: "application.jnlp" can't be opened because it is from an unidentified developer. 我知道有可能削弱安全检查以允许任何应用程序运行,但这需要最终用户的手动干预. 可以“签署”Java Web S
在Mac OS X 10.9签名的 Java Web Start应用程序默认阻止该消息:
"application.jnlp" can't be opened because it is from an unidentified developer.

我知道有可能削弱安全检查以允许任何应用程序运行,但这需要最终用户的手动干预.

可以“签署”Java Web Start应用程序,以便将其识别为来自已识别的开发人员?

谢谢

解决方法

苹果似乎支持签署webstart,但不直接.你必须将其捆绑在档案中.请参阅 this页底部的注释:

You can use the codesign utility to sign the JNLP file,which will attach the code signature to the JNLP file as extended attributes. To preserve these attributes,package the JNLP file in a ZIP,XIP,or DMG file. Be careful using the ZIP format,as some third-party tools might not capture the required extended attributes correctly.

另请注意,非Apple开发商不支持XIP anymore:

Important: Starting with macOS Sierra,only XIP archives signed by Apple will be expanded. Developers who have been using XIP archives will need to move to using signed installer packages or disk images.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读