From: "Vijayasree Krishnaprasad" <viji_krish@hotmail.com>
To: java-security@java.sun.com
Subject: Fwd: Returned mail: User unknown
Date: Tue, 26 Jan 1999 21:34:58 PST
Hi
I'm trying to use the security features of java (JDK 1.2). I followed
all the steps mentioned in the tutorial for setting up policy files. I
cannot get appletviewer to work . In other words i keep getting access
control exceptions. I'm working on Win95. The response is the samewith
and without using the -J-D option.
the policy file is something like this
/* AUTOMATICALLY GENERATED ON Mon Jan 25 13:16:22 PST 1999*/
/* DO NOT EDIT */
grant codeBase "file:/c:/test/*" {
permission java.io.FilePermission "C:/catv/newfile", "write";
};
I have tried various codebases like file:/c:/test , without the * etc.
Should the permission have slashes or backslashes
Any help would be appreciated.
Thanks
viji
programmer, Pictachio Software Portland OR
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com