Re: Running signed applets in browser

Jan Luehe (luehe@laguna.eng.sun.com)
Thu, 24 Jun 1999 13:02:52 -0700 (PDT)

Message-Id: <199906242002.NAA18632@laguna.eng.sun.com>
Date: Thu, 24 Jun 1999 13:02:52 -0700 (PDT)
From: Jan Luehe <luehe@laguna.eng.sun.com>
Subject: Re: Running signed applets in browser
To: java-security@java.sun.com, chandry@running-start.com

Chandra:

> I have problems with the signed applet in the URL
>
http://java.sun.com/docs/books/tutorial/security1.2/tour1/example-1dot2/WriteFil
e.html
>
> I created the policy file according to the instructions in the tutorial.
> The applet worked with the two approaches specified. I also then entry
> in the java.security file. The problem is that the applet won't work in
> a browser. Will the signed applets work in a browser using the policy
> tool specified in the tutorial.

The applet is not supposed to run in Netscape or IE, which
use a different security model.

In order to run that applet in Netscape or IE,
you would have to change its HTML specification and
use the OBJECT and the EMBED tags.

This will direct the applet to run using Sun's Java
Runtime Environment (JRE) instead of the web
browser's default virtual machine.

See

http://java.sun.com/products/plugin/

and

http://java.sun.com/security/signExample12/

for more information.

Jan