0

我正在开发一个 Java 小程序,它必须能够执行“沙箱”内不允许的操作。我的 java 小程序需要所有权限。现在我正在本地服务器上运行小程序。

我尝试使用自我证书来创建签名的小程序,但它对我不起作用。有没有其他方法可以做到这一点,或者你们知道任何创建自我证书的好教程吗?

亲切的问候/ H

4

1 回答 1

0

That you are asking for (all permissions for unsigned applet) would be a security exploit.

If the applet shows something rather trivial, I would suggest to rewrite in JavaScript instead. HTML 5 provides now some increased capabilities like restricted local file system access.

If this is a serious program, may be much better to offer it as a standalone .jar application. That way you go around the browser actions that seem getting increasingly unstable and problematic, as long as Java applets are concerned.

于 2014-02-21T07:56:21.543 回答