# Re: jdk1.2beta3/4 changes in codeBase interpretation for permissions

schemers@Eng
Tue, 11 Aug 1998 11:32:26 -0700 (PDT)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: schemers@Eng: "Re: jdk1.2beta3/4 changes in codeBase interpretation for permissions"
- Previous message: Ralph G. Puga: "Re: jdk1.2beta3/4 changes in codeBase interpretation for permissions"

    Date: Tue, 11 Aug 1998 11:32:26 -0700 (PDT)

    From: schemers@Eng

    To: "Ralph G. Puga" <puga@tis.com>

    Subject: Re: jdk1.2beta3/4 changes in codeBase interpretation for permissions

    In-Reply-To: <35D08BF6.BB4B6BB6@tis.com>

    	<13776.35449.207175.234684@crypto.eng.sun.com>

Sorry about that. I took a quick look at the policy docs and it
looked like this change might not have been correctly documented.
I'll try and make sure it does for FCS.

roland

Ralph G. Puga writes:
>
>
> Roland,
>
> Thank you for the timely response on this issue. We have been struggling with it
> for several days and there did not seem to be a new work around for our situation.
>
> --Ralph P.
>
>
> schemers@Eng.Sun.COM wrote:
>
> > Robert Watson writes:
> > > This email is with regards to a change moving from jdk1.2beta3 to jdk1.2beta4.
> > > Under 1.2beta3, we were able to specify permissions to apply to locally loaded
> > > code by using the "file:/" codebase in the Java policy file. Under
> > > jdk1.2beta4, however, this no longer appears to work. Here is some source
> > > code and some sample policy files:
> >
> > This should be documented in the policy docs. Instead of:
> >
> > grant codeBase "file:/" {
> >
> > You need to use:
> >
> > grant codeBase "file:/-" {
> >
> > This is the same syntax the FilePermission uses. We had a number of
> > requests to make this change, in order to make it explict.
> >
> > roland
> >
>
>
>
>
>
> --
> Ralph G. Puga puga@tis.com
> TIS Labs/Network Associates Inc. Washington (301) 854-5323
> 3060 Washington Road (Voice) Baltimore (410) 442-1673 (x323)
> Glenwood, MD 21738 FAX (301) 854-5363
>
>
>

- Next message: schemers@Eng: "Re: jdk1.2beta3/4 changes in codeBase interpretation for permissions"
- Previous message: Ralph G. Puga: "Re: jdk1.2beta3/4 changes in codeBase interpretation for permissions"