# Re: Fwd: Returned mail: User unknown

schemers@Eng
Tue, 26 Jan 1999 22:04:10 -0800 (PST)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: schemers@Eng: "Re: Fwd: Returned mail: User unknown"
- Previous message: Vijayasree Krishnaprasad: "Fwd: Returned mail: User unknown"

    Date: Tue, 26 Jan 1999 22:04:10 -0800 (PST)

    From: schemers@Eng

    To: "Vijayasree Krishnaprasad" <viji_krish@hotmail.com>

    Subject: Re: Fwd: Returned mail: User unknown

    In-Reply-To: <19990127053458.27694.qmail@hotmail.com>

Vijayasree Krishnaprasad writes:
>
> 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
>

Unfortunately this a bug that crept in at the last minute. This will
be fixed in JDK 1.2.2. IN the mean time, you can change the "*" to
a "-".

roland

- Next message: schemers@Eng: "Re: Fwd: Returned mail: User unknown"
- Previous message: Vijayasree Krishnaprasad: "Fwd: Returned mail: User unknown"