Signed Applets, JNI and DLLs

孤人 提交于 2019-12-11 08:06:11

问题


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?

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.

Thanks


回答1:


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
  • your user must have sufficient privileges to run the dlls

I've done it, so there is no reason you can't do it too



来源:https://stackoverflow.com/questions/5430105/signed-applets-jni-and-dlls

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!