Re: Squid causes security exception in Java Applet ......

From: Thomas Leitner <tom@dont-contact.us>
Date: Fri, 27 Sep 1996 17:49:40 +0200 (MET DST)

Hi Steve,

Thanks for your reply.

On Fri, 27 Sep 1996, Steve Davies wrote:

> On Fri, 27 Sep 1996, Thomas Leitner wrote:
>
> > We experience a very peculiar behaviour of Netscape 3.0: When our Java
> > applet is run with a proxy (SQUID 1.0.12) turned on, we get a security
> > exception. When the proxy is turned off, no exception is raised.
>
> I believe that Netscape's security rules say that Java applets can only
> open connections back to the site that they came from. I'd guess
> Netscape feels that the Java program came from the proxy machine - so
> wants to restrict it to connect there.

Yes maybe this is the reason. On the other hand, the logs do not
imply that. getCodeBase() gets the proper host and not the proxy.
Perhaps internally it thinks that the applet came from the proxy.

The strange thing is that it did not happen in NS 2.0. I'll send a
bug report to Netscape and hope that someone stumbles accross it, given
that they get a thousands of mails per day.

Thanks again -- Tom

--------------------------------------------------------------------------
T o m L e i t n e r Dept. of Communications
                                            Graz University of Technology,
e-mail : tom@finwds01.tu-graz.ac.at Inffeldgasse 12
Phone : +43-316-873-7455 A-8010 Graz / Austria / Europe
Fax : +43-316-463-697
Home page : http://wiis.tu-graz.ac.at/people/tom.html
PGP public key on : ftp://wiis.tu-graz.ac.at/pgp-keys/tom.asc or send
mail with subject "get Thomas Leitner" to pgp-public-keys@keys.pgp.net
--------------------------------------------------------------------------
Received on Fri Sep 27 1996 - 08:50:40 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:33:05 MST