1 Reply Latest reply: Mar 17, 2014 12:21 PM by user11138293 RSS

    security permissions for applet using jnlp

    user11138293

      I want all permission for my applet . I using jre 7 and   jnlp file.

      My jnlp file has

      <security>

        <all-permissions/>

        </security>

       

      on running applet, java console    shows security:Add sandbox permissions

       

      and i get security exception, please advice how to specify all permissions for java applet

       

       

      below is my jnlp.

      <?xml version="1.0" encoding="UTF-8"?>

      <jnlp spec="1.0+" codebase="" href="">

          <information>

              <title>Applet</title>

              <vendor>ARTMS</vendor>

          </information>

          <resources>

              <j2se version="1.7+"

               java-vm-args="-d32"

                    href="http://java.sun.com/products/autodl/j2se"/>

              <jar href="dsapplet.jar"/>

       

       

          </resources>

          <applet-desc

               name="Applet"

               main-class="com.service.TestApplet"

               width="900"

               height="300">

                   <param name="java_arguments" value="-Djava.security.debug=sunpkcs11,pkcs11"/>

           </applet-desc>

        <security>

        <all-permissions/>

        </security>

           <update check="background"/>

      </jnlp>