签名的Applet,JNI和DLL [英] Signed Applets, JNI and DLLs
问题描述
我对签名的小程序和dll有疑问。
我要创建一个applet,该applet使用一堆位于硬盘驱动器上的dll。如果我的applet已签名并且用户同意运行applet,则dll能够执行任何操作吗?
I have a question about signed applets and dll's. I'm going to do an applet that uses a bunch of dll's that resides on the harddrive. If my applet is signed and the user agrees to run the applet, will the dll's be able to perform anything?
我一直在寻找是否可能遇到任何资源/清除问题,如果我的小程序运行dll的话。基本上,DLL负责诸如录音+语音输出(通过openAL afaik)以及RTP和SIP实施之类的事情。因此,我想确保如果我的applet已签名并且用户同意运行它,则访问这些东西没有问题。
I was looking for if I might run into any resource/clearance issues if my applet runs the dll's. Basically the dll's are responsible for things like voice recording+voice output (through openAL afaik), and RTP and SIP implementations. 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.
谢谢
推荐答案
以下是这些要求:
- 您的小程序已签名/用户同意要运行它
- 执行JNI部分的dll必须在java.library.path
- 您的用户必须具有足够的特权才能运行dlls
我已经做到了,所以没有理由也不能这么做
I've done it, so there is no reason you can't do it too
这篇关于签名的Applet,JNI和DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!