# Re: Work around to applet restrictions.

Marianne Mueller (Marianne.Mueller@Eng)
Mon, 8 Jun 1998 20:32:00 -0700 (PDT)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Wolfgang Platzer: "Smartcards!"
- Previous message: Marianne Mueller: "Re: Using Cryptographic functions in Japan"
- Maybe in reply to: Aaron DeLeskie: "Work around to applet restrictions."

    Date: Mon, 8 Jun 1998 20:32:00 -0700 (PDT)

    From: Marianne Mueller <Marianne.Mueller@Eng>

    Subject: Re: Work around to applet restrictions.

    To: java-security@web1.javasoft.com, adeleski@nt.com

Hi, I don't remember if we answered yet or not.

In general, downloaded applets (applets loaded into a browser from
any place other than the machine the browser is running on) aren't
allowed to read or write files on the local machine. For more
description of applet restrictions, see http://java.sun.com/sfaq

There are a few possibilities for saving data written to a form.
Your applet can send the data back to the server that the applet came
from, and it can write the data there. Or, you can make the applet
a "trusted" applet in one of two ways

1) install it on the local machine, in a directory on the CLASSPATH
used by the browser

2) sign the applet with an identity marked as trusted in the certificate
databases used by your end-users. See
http://java.sun.com/security/usingJavakey.html and
http://java.sun.com/security/signExample/index.html

- Next message: Wolfgang Platzer: "Smartcards!"
- Previous message: Marianne Mueller: "Re: Using Cryptographic functions in Japan"
- Maybe in reply to: Aaron DeLeskie: "Work around to applet restrictions."