Re: file io with applets

Marianne Mueller (mrm@eng.sun.com)
Wed, 26 Mar 1997 09:40:05 -0800

Date: Wed, 26 Mar 1997 09:40:05 -0800
Message-Id: <199703261740.JAA13445@puffin.eng.sun.com>
From: Marianne Mueller <mrm@eng.sun.com>
To: rkeshavan@allmerica.com
Subject: Re: file io with applets

Check out http://java.sun.com/sfaq/ for a description of the
restrictions places on downloaded applets. We've been describing
the restrictions placed on applets (the "sandbox") as an important
feature of Java applets, and one that distinguishes Java from other
types of executable content.

Note that in JDK 1.0 , 1.0.2 and 1.1, there is a distinction between
"downloaded applets" and "applets installed locally, in a directory
that is on the CLASSPATH used by the browser." The latter type of
applets are allowed full access.

thanks for the suggestion. We are indeed working on the
infrastructure to allow applets limited additional access, outside the
sandbox. With JDK 1.1, a signed applet, which is signed by a key that
is marked as "trusted" in your own identity database, can be allowed
full access, including reading and writing files. See
http://java.sun.com/security/signExample/ for an example.

Marianne

> Date: Wed, 26 Mar 1997 07:14:58 -0800
> From: Rangaswamy Keshavan <rkeshavan@allmerica.com>
> Reply-To: rkeshavan@allmerica.com
> Organization: Allmerica Financial
>
> I've been using Java for the past couple months in a graduate
> independent study. I was very surprised to find that you couldn't read
> a data file off the server. The surprise is that you can read image
> files, but why not a data file? Anyways, my suggestion is that a
> mechanism should be implemented where it is possible for applets to read
> a data file from the server.
>
> I'm using Netscape, BTW.
>
>
>
> Rango
>