Re: Applet Security

Charlie Lai (charlie@angeles.eng.sun.com)
Tue, 17 Nov 1998 16:03:34 -0800 (PST)

> My understanding is that if a Netscape browser is used, then the method
> requiring access outside of the sandbox needs to request this from
> the Netscape capability classes eg: PrivilegeManager.enablePrivilege().
> For Explorer's browser a different set of classes controls access to
> local resources and PolicyEngine.assertPermission()
> must be issued, and so on .. depending upon the browser used.
>
> Is this approach (different for each browser) really the way an applet
> gains access to local system resources (files, etc) ?

if you use the java plugin, your applet should work on Netscape or IE
without having to write to browser-specific APIs.

check out: http://java.sun.com/security/signExample
and: http://java.sun.com/products/plugin

hope that helps,
charlie