send permissions with applet...

Hi!

I have an applet and it uses a jar file (jacob.jar). I must grant some PropertyPermission for it to work correctly. I signed the applet jar and put the corresponding line in the [JRE_HOME]\lib\security\java.plocy and it works fine.

But I must edit the java.policy in the client side and it is a ... bad solution.

Can I send a policy file with the applet jar (in the jar) which grants the corresponding permissions? How can I do this?

Thank You very much!

Viktor

[502 byte] By [rflaira] at [2007-11-26 17:53:38]
# 1
You have to sign your applet: http://java.sun.com/developer/technicalArticles/Security/Signed/
beradriana at 2007-7-9 5:06:38 > top of Java-index,Desktop,Core GUI APIs...
# 2
Hi beradrian!Yes I signed the jar and it works, but I must edit manually the java.policy file on the client side. Can I send the policy file with the jar (in the jar)?Thanks!
rflaira at 2007-7-9 5:06:38 > top of Java-index,Desktop,Core GUI APIs...