Alessandro,
You're also granting every other applet in the world permission to muck
up your system too. In other words you've just removed Java's
security. I'd advise that you only permissions into a specific
directory.
- John Wright
Starfire Research
Alessandro Borges wrote:
>
> Go to your C:\Program Files\JavaSoft\JRE\__YOUR_JRE__\bin\
> and open policytool.exe.
> Use it to open the file java.policy in the folder :
> C:\Program Files\JavaSoft\JRE\__YOUR_JRE__\lib\security\
>
> Do the fallowing:
> 1) Choose "Add Policy Entry"
> 2) In the appearing dialog box click on "Add Permission"
> 3) In the next appearing box, click in the com "Permissions" e choose
> "AllPermissions"
> 4) Save the file.
>
> Notes:
> * _YOUR_JRE_ is your actual JRE version. You may more than one. Change
> Policy in all of then.
> * If you are using JRE 1.4 or higher your JRE folder will be:
> C:\Program Files\JAVA\JRE\__YOUR_JRE__\bin\
> i.e. replace Javasoft by Java ;)
>
> You can also edit by hand java.policy just adding the lines :
>
> grant {
> permission java.security.AllPermission;
> };
>
> There is a another way to enable your applets to read your files in your
> hard-drive C: more safety, if you have to follow security rules in your
> work:
>
> grant codeBase "file:C:/*" {
> permission java.security.AllPermission;
> };
>
> Correct me if I am wrong
> Alessandro Borges
>
> ----- Original Message -----
> From: "Karl Parry" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, August 02, 2002 6:22 AM
> Subject: [JAVA3D] showing applet in web browser...
>
> > Hi,
> > I have my applet placed within a HTML file but when I
> > run the web browser I get the following error:
> >
> > exception: access
> > denied(java.lang.RuntimePermission...
> >
> > I have a feeling it's something to do with security
> > poilcies...
> >
> > The thing is all the examples from the Java3D API work
> > in the web browser, but my code won't work...
> >
> > whats happening, anyone?
> >
> > Cheers
> > KP
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Everything you'll ever need on one web page
> > from News and Sport to Email and Music Charts
> > http://uk.my.yahoo.com
> >
> >
> ===========================================================================
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> > of the message "signoff JAVA3D-INTEREST". For general help, send email to
> > [EMAIL PROTECTED] and include in the body of the message "help".
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.377 / Virus Database: 211 - Release Date: 15/7/2002
>
> _______________________________________________________________________
> Yahoo! PageBuilder
> O super editor para cria��o de sites: � gr�tis, f�cil e r�pido.
> http://br.geocities.yahoo.com/v/pb.html
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA3D-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".