# Re: signed applet writes but can't access system EventQueue

Charlie Lai (Charlie.Lai@Eng)
Fri, 9 Jan 1998 16:21:22 -0800 (PST)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Charlie Lai: "Re: javakey and netscape 404"
- Previous message: Jeroen C. van Gelderen: "Weak keys"
- In reply to: Scott Gallant: "javakey and netscape 404"

    From: Charlie.Lai@Eng (Charlie Lai)

    Message-Id: <199801100021.QAA01201@angeles.eng.sun.com>

    Subject: Re: signed applet writes but can't access system EventQueue

    To: YFHSU@us.oracle.com (Yen-Fen Hsu)

    Date: Fri, 9 Jan 1998 16:21:22 -0800 (PST)

    In-Reply-To: <199801080358.TAA26814@mailtst1> from "Yen-Fen Hsu" at Jan 7, 98 07:56:46 pm

hi,

> My applet has 2 features that require signing: write to local disk and
> access EventQueue (spplet.getToolkit().getSystemEventQueue()).
> I use jar and javakey to sign the applet.
> When I run it in the applet viewer, it wrote successfully
> but generated a AppletSecurityException: checkawteventqueueaccess for
> EventQueue access.

unfortunately, the applet security manager used by appletviewer
never allows an applet to access the EventQueue, even if the
applet is signed.

this is the appletviewer's security policy.

is there a way to redesign your applet so it does not rely on the
system event queue?

thanks,
charlie

- Next message: Charlie Lai: "Re: javakey and netscape 404"
- Previous message: Jeroen C. van Gelderen: "Weak keys"
- In reply to: Scott Gallant: "javakey and netscape 404"