# java.policy is OK with Appletviewer, KO with Netscape

Luigi Fonti (Luigi.Fonti@cnaf.infn.it)
Fri, 11 Dec 1998 15:33:10 +0100

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Allin, Jonathan: "Transferring a file using an applet"
- Previous message: Gubbi Vivek: "Help me It's again javakey!!!!!"
- Next in thread: Jan Luehe: "Re: java.policy is OK with Appletviewer, KO with Netscape"

I'm working on a Windows'95 system.
I've downloaded and installed jdk12-win32.
Then I've modified my java.policy file, in order to grant <<ALL-FILES>>
write permission to a well-known source node. I've put on that node a very
simple example applet, which writes something to an output file.

Well, if I run that applet using Appletviewer, it works successfuly;
but if I run it using Netscape(4.06) or Internet Explorer(4.0), I get a
security exception.

The plug-in seems to be correctly installed on Netscape.
The same policy file is replicated in different places:

c:\Windows\.java.policy (this is the copy recognized by policytool)
c:\Jdk1.2\jre\lib\security\java.policy
c:\Program Files\JavaSoft\jre\1.2\lib\security\java.policy

Should I put another copy of it some elsewhere in order to get Netscape
working with it ?

Thank you and best regards.
Luigi Fonti

- Next message: Allin, Jonathan: "Transferring a file using an applet"
- Previous message: Gubbi Vivek: "Help me It's again javakey!!!!!"
- Next in thread: Jan Luehe: "Re: java.policy is OK with Appletviewer, KO with Netscape"