Date: Fri, 31 Jan 1997 14:31:05 -0800
Message-Id: <199701312231.OAA20497@puffin.eng.sun.com>
From: Marianne Mueller <mrm@Eng>
To: mao@lava.de
Subject: Re: protocols&security
> i cannot define my own protocol with the castanet tuner
> because of the security manager. that is because
> i cannot define a class sun.net.www.protocol.<protocol>.Handler
> (Cause: securityException, cannot define classes under 'sun')
>
> it is a one-line change in URL.java, but I had to reimplement
> the whole URL Classes to get my code running.
>
> consider this for jdk 1.1:
> (Line 409 in URL.java, JDK 1.02)
>
> packagePrefixList += "sun.net.www.protocol";
>
> a simple change (like: "misc.protocol") would help a lot!
It's not clear to me that it's a good thing to open up Castanet tuners
(or any code that uses URL.java) to arbitrary downloaded protocols,
absent a more flexible and configurable security policy
infrastructure.
We are working towards more flexible and configurable security
policies.
Marianne