From: charlie@angeles.eng.sun.com (Charlie Lai)
Message-Id: <199807202050.NAA08038@angeles.eng.sun.com>
Subject: Re: lower security
To: krzydyn@perytnet.pl
Date: Mon, 20 Jul 1998 13:50:16 -0800 (PDT)
In-Reply-To: <Pine.LNX.3.96.980717140115.13200A-100000@tatra.perytnet.pl> from "krzydyn@perytnet.pl" at Jul 17, 98 02:03:26 pm
hi,
> I'd like to System.getProperties() from my applet bad it throws
> SecurityException. How can I allow applet to call this function ?
in jdk 1.1, if your applet is signed and trusted, it can
access System properties.
http://java.sun.com/security/signExample
in jdk 1.2, if the policy is configured to allow this access,
then the applet can get at the System property.
http://java.sun.com/products/jdk/1.2/docs/guide/security/index.html
thanks,
charlie