I have a signed applet that manages a small on-client-disk database.
Some Javascript code in a CGI-generated page makes calls to methods on
the applet to access the database.
I'm trying to get this to run in Mozilla/Netscape 6.2.
I have a few questions:
1. On Netscape 4, it was necessary to assert privilege in the Java
code by making a call something like this:
netscape.security.PrivilegeManager.getPrivilegeManager().enablePrivilege(
"UniversalFileAccess")
My reading of the documentation for the Java plugin from Sun is
that this call will still succeed in Mozilla but is a no-op.
If so how does the applet code specify what privileges it needs ?
2. Is it the case in Mozilla that if I wish to call a method on this
privileged applet from the Javascript layer, the Javascript code
itself must also be signed ?
If so must it also explicitly assert privilege somehow ?
3. I'm signing the JAR file with Netscape's signtool.exe, version 1.0.
Will this work for Mozilla ?
--
Kevin Esler Rational Software
ClearCase Product Group 20 Maguire Road
Tel: (781) 676-2626 Lexington, MA 02421
Fax: (781) 676-2600
mailto:[EMAIL PROTECTED] WWW: http://www.Rational.com/