security features

Vijayasree Krishnaprasad (viji_krish@hotmail.com)
Mon, 25 Jan 1999 13:56:25 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 same with
and without using the -J-D option.
the polci 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:/ , 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