Java 7u45 安全警告:允许从该网站访问以下应用程序吗?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/19537839/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-12 18:11:35  来源:igfitidea点击:

Java 7u45 Security Warning: Allow access to the following application from this web site?

javasecuritywarnings

提问by mstfcck

How can I cancel following warning?

如何取消以下警告?

Allow access to the following application from this web site?:

允许从该网站访问以下应用程序吗?:

Screenshot: http://i.imgur.com/sXN5mLZ.jpg

截图:http: //i.imgur.com/sXN5mLZ.jpg

回答by johntheripp3r

As a developer you can not let this warning to not appear because of security reasons.
j7u51 prediction
Check this screenshot taken from a PC running on j7u45

作为开发人员,出于安全原因,您不能让此警告不出现。
j7u51预测
检查从运行在 j7u45 上的 PC 上截取的屏幕截图

回答by Marciano Santos

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.

对于我们的案例,基于我们内部测试的解决方案是从清单中删除 Trusted-Library 属性。

You may follow this link

你可以点击这个链接

JAR File Manifest Attributes for Security

用于安全性的 JAR 文件清单属性

回答by Paul Wagland

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-Codebaseattribute in your manifest.

此处描述了您面临的问题。假设您从已知位置提供小程序,解决方案是在清单中指定Caller-Allowable-Codebase属性。

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: *.

根据文档,如果您没有从已知位置进行实时连接,那么您应该能够指定Caller-Allowable-Codebase: *.