简体   繁体   English

签名的Applet,JNI和DLL

[英]Signed Applets, JNI and DLLs

I have a question about signed applets and dll's. 我对签名的小程序和dll有疑问。 I'm going to do an applet that uses a bunch of dll's that resides on the harddrive. 我要做一个使用驻留在硬盘驱动器上的一堆dll的applet。 If my applet is signed and the user agrees to run the applet, will the dll's be able to perform anything? 如果我的applet已签名并且用户同意运行applet,则dll能够执行任何操作吗?

I was looking for if I might run into any resource/clearance issues if my applet runs the dll's. 我一直在寻找如果我的小程序运行dll时是否可能遇到任何资源/清除问题。 Basically the dll's are responsible for things like voice recording+voice output (through openAL afaik), and RTP and SIP implementations. 基本上,DLL负责诸如录音+语音输出(通过openAL afaik)以及RTP和SIP实现之类的事情。 So I want to make sure there's no issue with accessing that stuff if my applet is signed and user agrees to run it. 因此,如果我的Applet已签名并且用户同意运行它,那么我想确保访问该东西没有问题。

Thanks 谢谢

These are the requirements : 这些是要求:

  • your applet is signed / user aggrees to run it 您的小程序已签名/用户同意运行它
  • the dlls that do the JNI part must be on the java.library.path 执行JNI部分的dll必须在java.library.path中
  • your user must have sufficient privileges to run the dlls 您的用户必须具有足够的特权才能运行dll

I've done it, so there is no reason you can't do it too 我已经做到了,所以没有理由你也不能做到

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

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