java - How can I add policy file to the jar applet which is embedded in html file -


i have html:

<html> <title>the hello, world applet</title> <hr> <applet code=javaapplication4.test.class          archive="javaapplication4.jar"         width=600 height=400> </applet> <hr> </html> 

and want add following policy file it:

/* automatically generated on thu may 09 15:48:03 ast 2013*/ /* not edit */  grant {   permission java.security.allpermission; }; 

because want let applet allpermission desktop application.

how can ?

if html insert policy file machine, huge security bug. fortunately, best of knowledge, not possible.

if applet needs trust, digitally sign it.


Comments

Popular posts from this blog

Java sticky instances of class com.mysql.jdbc.Field aggregating -