在 Java Applet 中录制音频(策略文件选项)
我构建了一个快速小程序来录制音频并将音频发送到服务器。除了策略文件问题之外,一切都运行良好。我不能很好地让用户打开策略工具并编辑小程序的权限,因为我确信这会关闭 100/100 个用户。是否有任何人可以想到的选择来绕过它?有没有办法让小程序像 Flash 一样提示他们接受?
PS 这是一个 Node.JS 服务器。多么有趣,Java 客户端与 JavaScript 服务器对话:)
I built a quick applet to record audio and send the audio to a server. Everything works great with exception of the policy file issues. I can't very well have users open up the policy tool and edit the permissions for applets, as I'm sure that would turn off 100/100 users. Are there any options anyone can think to get around it? Is there a way to have the applet prompt them for acceptance like in Flash?
PS It's a Node.JS server. How funny, a Java client talking to a JavaScript server :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对小程序代码进行数字签名。有关更多详细信息,请参阅签名和验证 JAR 文件。
简短的回答,不。答案很长,最终用户只需在提示信任数字签名代码时单击“确定/是”,并且可能需要的任何导入都会自动发生。
尝试可信版本的文件服务演示,了解它的用途最终用户(即“简单”)。
Digitally sign the applet code. See Signing and Verifying JAR Files for more details.
Short answer, no. Long answer, the end user only has to click 'OK/Yes' when prompted to trust the digitally signed code, and whatever importing may be required happens automatically.
Try the trusted version of the file service demo. for a taste of how it might be for the end user (i.e. 'easy').