Re: policy files and java plug-in for 1.2

Jan Luehe (luehe@laguna.eng.sun.com)
Tue, 2 Feb 1999 09:50:52 -0800 (PST)

Date: Tue, 2 Feb 1999 09:50:52 -0800 (PST)
From: Jan Luehe <luehe@laguna.eng.sun.com>
Subject: Re: policy files and java plug-in for 1.2
To: java-security@java.Sun.COM, fred_dubois@yahoo.com

Dimitri:

> Are we supposed to specify to the java plug-in which files contains the
> permissions for the runtime environment ?
> (inside of an HTML parameter for example)
> I've got an applet which have the permission to open a socket towards a
> web site on the 80 port (HTTP),
> it works with the applet Viewer, but doesn't with the java plug-in
> inside a browser.

The Plug-in uses the same policy as the JRE, i.e.,
the policy files specified in jre/lib/security/java.policy
plus the policy file in your home directory.
Your home directory corresponds to the value of
"User home directory" which is displayed in the Java Console.

Jan