没有安全警告的 OpenGL Java Applet

发布于 2024-11-07 12:27:49 字数 272 浏览 1 评论 0原文

我需要制作一个 java 小程序,我可以嵌入到网页中,没有安全警告并使用 OpenGL。

到目前为止,我一直在使用 JOGL 1.x,代码运行得很好,但是我无法在没有安全警告的情况下嵌入它,即使如此,除非您更改 java 配置以允许签名和未签名的代码混合,否则它也不会运行...

我知道 JOGL 1.x 有点被废弃了,那么我应该使用什么来代替呢?我听说 2.x 有很多问题,另外我认为它需要安全警告...

我可以使用其他东西来公开 OpenGL,我可以使用未签名的所以没有警告吗?

I need to make a java applet I can embed in a web page with no security warnings and uses OpenGL.

I have been working with JOGL 1.x so far and the code runs great, however I can't embed it without security warnings, and even then it doesn't run unless you change your java config to allow signed and unsigned code to mix...

I know JOGL 1.x is somewhat abandoned, so what should I use instead? I heard there were lots of problems with 2.x, additionally I think it will require a security warning...

Is there something else I can use to expose OpenGL, that I can use unsigned so there's no warnings?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

七色彩虹 2024-11-14 12:27:49

如果您将 JOGL 作为小程序的一部分进行分发,为什么不使用您的证书对其进行签名呢?

或者您是否不想对您要求访问者运行的网站上托管的代码承担责任?

If you are distributing JOGL as part of your applet, why aren't you signing it with your certificate?

Or are you trying not to take responsibility for code hosted on your website that you ask your visitors to run?

ま昔日黯然 2024-11-14 12:27:49

为了结束而回答我自己的问题:不。由于自 JOGL1 开发以来 Java 中的安全性更改,如果没有安全授权,您将无法获得所需的访问权限,并且由于旧的内容是专门编写 JOGL1 的方式,因此您似乎有完全绕过java的安全性使其工作。最终结果是 JOGL1 已经死了,除非您在特定系统上配置 java 以允许任何代码以任何方式运行(即使您授权它也会破坏,您必须完全关闭安全性,这显然是一个糟糕的主意,并且绝不可分发)

To answer my own question for the sake of closure: No. Due to security changes in Java since JOGL1 was developed you can't get the access needed without security authorization, and due to the way older things were written specifically JOGL1 it appears you have to bypass java's security entirely to make it work. The end result is JOGL1 is dead dead dead unless you configure java on the specific system to allow any code to run in any way (it breaks even if you authorize it, you have to turn security off entirely, which is obviously a terrible idea and in no way distributable)

南笙 2024-11-14 12:27:49

使用 WebGL 怎么样?由于 WebGL 完全集成到 DOM 中,您也可以从 Java 小程序使用它。

How about using WebGL? Since WebGL is fully integrated into the DOM you can use it also from a Java applet.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文