简体   繁体   English

Java applet全方位

[英]Java applet all-perminssions

I´m working on an java applet that must be able to perform operations that are not allowed inside the "sandbox". 我正在研究一个Java小程序,该小程序必须能够执行“沙箱”中不允许的操作。 My java applet needs all permissions. 我的Java Applet需要所有权限。 Right now I´m running the applet on a local server. 现在,我正在本地服务器上运行小程序。

I´ve tried to use a self-certificate for creating a signed applet but it won´t work for me. 我曾经尝试使用自我证书来创建签名的applet,但是它对我不起作用。 Are there any other way to do this or do you guys know any good tutorial for creating a self-certificate? 还有其他方法可以做到吗,或者你们知道创建自认证的任何好教程吗?

Kind regards / H 亲切的问候/ H

That you are asking for (all permissions for unsigned applet) would be a security exploit. 您所要求的(未签名的applet的所有权限)将是一种安全漏洞。

If the applet shows something rather trivial, I would suggest to rewrite in JavaScript instead. 如果小程序显示了一些琐碎的内容,我建议改用JavaScript重写。 HTML 5 provides now some increased capabilities like restricted local file system access . HTML 5现在提供了一些增强的功能,例如受限制的本地文件系统访问

If this is a serious program, may be much better to offer it as a standalone .jar application. 如果这是一个严肃的程序,将其作为独立的.jar应用程序提供可能会更好。 That way you go around the browser actions that seem getting increasingly unstable and problematic, as long as Java applets are concerned. 这样一来,只要关注Java小程序,浏览器操作就变得越来越不稳定和成问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM