How to give all permissions to an unsigned applet

  • Follow


Hi,

   I'm trying to edit the java.policy file to grant full permisions to
an unsigned applet I'm developing.

   If I just write:

   grant {
      permission java.security.AllPermission;
   };

   It runs without problems. But if I set the codebase: 

   grant CodeBase "http://a.complete.url/MyApplet.jar" {
      permission java.security.AllPermission;
   };

   I found no way to get it running (it has no permissions)

   Is signing the only way to grant full permissions to an applet ? Or
is there any way to include this in the java.policy file ?

   Any light here would be really welcome.

   Thanks in advance,
 
      - Juan
0
Reply juanmp 7/7/2003 11:10:46 AM

On 7 Jul 2003 04:10:46 -0700, juanmp@people-com.com (Juancho) wrote or
quoted :

>   grant CodeBase "http://a.complete.url/MyApplet.jar" {
>      permission java.security.AllPermission;
>   };

all this stuff is case sensitive.  Are you getting in trouble that
way?

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming. 
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
0
Reply Roedy 7/8/2003 1:35:59 AM


> >   grant CodeBase "http://a.complete.url/MyApplet.jar" {
> >      permission java.security.AllPermission;
> >   };
> 
> all this stuff is case sensitive.  Are you getting in trouble that
> way?

Hi,

   Thank you for your help ! Yes, the problem was it's case
sensitive.. I still don't get used to it in java :)

   Best regards,

      - Juancho
0
Reply juanmp 7/24/2003 7:36:16 PM

2 Replies
565 Views

(page loaded in 0.04 seconds)

Similiar Articles:













7/23/2012 5:44:25 PM


Reply: