[5325] in java-interest
Re: Some Security Issues
daemon@ATHENA.MIT.EDU (James Waldrop)
Tue Feb 6 02:14:08 1996
To: Richard Scott Hall <rickhall@anchor.cs.colorado.edu>
cc: java-interest@java.sun.com
In-reply-to: Your message of "Wed, 31 Jan 1996 16:19:10 MST."
<199601312319.QAA19488@anchor.cs.colorado.edu>
Date: Wed, 31 Jan 1996 23:14:22 -0800
From: James Waldrop <sulam@construct.net>
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'm sure someone with far more knowledge about Java will come along
and correct this, but maybe not.
James
--
James Waldrop / Technical Director
sulam@construct.net / Construct Internet Design
sulam@well.com / http://www.construct.net
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com