TechAlpine – The Technology world

Is it possible to access signed java applet code from java script function?

Signed applets are the authenticated applet to access secured data.So signed applets do not have the security restrictions that are imposed on unsigned applets and can run outside the security sandbox.

But java script code is treated like unsigned code.So when a signed applet is accessed from JavaScript code in an HTML page, the applet is executed within the security sandbox. This implies that the signed applet essentially behaves likes an unsigned applet.

As a result ‘access denied’ exception is thrown.

So it is always recommended to use signed applet code separately and not execute it using a javascript function.

Leave a Reply

Your email address will not be published. Required fields are marked *

8 + 3 =

TechAlpine Books