开发者

OpenGL Java Applet without security warnings

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 s开发者_高级运维o 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?


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?


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)


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜