Signed Applet doesn't work in the browser even it runs with Java plug-in

Connie Chan (cchan@tyc.com)
Mon, 11 May 1998 16:03:36 -0400

Date: Mon, 11 May 1998 16:03:36 -0400
From: Connie Chan <cchan@tyc.com>
To: java-security@web1.javasoft.com
Subject: Signed Applet doesn't work in the browser even it runs with Java plug-in

Hi,

I try to run the example, which is provided in the web page
(http://java.sun.com/security/signExample/), in the Navigator 4.04.
What I did is to download all the files I need to my PC, install Java
plug-in for jdk 1.1.x, and modify the signedWriteFile.html. However,
when I ran it, I still got the SecurityException. I enclose my modified
version of signedWriteFile.html in this email. Could you let me know if
I did something wrong? I can be reached at cchan@tyc.com. Thanks.

Connie

#######################################################
Java Security Example: Writing Files

Java Security Example: Writing Files


Here's an applet that tries to write to the file /tmp/foo:

No JDK 1.1 support for APPLET!!

and here's the source.

This applet is signed by Duke - if you've configured your system to allow applets signed by Duke to run, go and check your /tmp area! (Or your c: drive, if you're running on a PC.) You'll find a file named "/tmp/foo" (or, on a PC, "tmpfoo"), with an important message from Duke :-)


Back to the Java Security Page/a> ########################################################