[5328] in java-interest

home help back first fref pref prev next nref lref last post

Re: Some Security Issues

daemon@ATHENA.MIT.EDU (Richard Scott Hall)
Tue Feb 6 03:19:12 1996

From: Richard Scott Hall <rickhall@anchor.cs.colorado.edu>
To: sulam@construct.net (James Waldrop)
Date: Thu, 1 Feb 1996 09:43:28 -0700 (MST)
Cc: java-interest@java.sun.com
In-Reply-To: <199602010714.XAA09891@stumpy> from "James Waldrop" at Jan 31, 96 11:14:22 pm

> James Waldrop wrote:
>
> Richard Scott Hall wrote:
> >I have created a local package that reads a local file.  I would like
> >to be able to allow downloaded applets to import this package so that
> >they can also access the contents of the file.  This works fine in the
> >JDK appletviewer, but when I run it under Netscape it is a security
> >violation.
> 
> I'm not sure if the following will work, but give it a try:
> 
> Add the localPackage.class file to a directory in the local user's
> CLASSPATH.  Also put the localPackage.class file in the compilation's
> environment CLASSPATH.  Import the class file as usual -- if I'm not
> feeding you a load of bull the dynamic linker should resolve the
> local class when the applet is interpreted.
> 

I do put the localPackage.class in the local user's environment
and Netscape appears to have no problem finding it because the
applet runs fine.  But when I make a call to the localPackage.memberFunc()
that reads from the local file I get an exception.

-> rick
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post