United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6611379 LiveConnect security model update
JDK-6611379 : LiveConnect security model update

Details
Type:
Bug
Submit Date:
2007-09-30
Status:
Closed
Updated Date:
2010-04-04
Project Name:
JDK
Resolved Date:
2007-10-31
Component:
deploy
OS:
generic
Sub-Component:
plugin
CPU:
generic
Priority:
P2
Resolution:
Duplicate
Affected Versions:
6u5
Fixed Versions:
6u10

Related Reports
Duplicate:

Sub Tasks

Description
Revisit the new LiveConnect security implementation and add support for correctly granting permissions. During JavaScript-to-Java calls, the JavaScript code should effectively be treated as an unsigned applet originating from the document base, and receive permission to connect back to the host from which the HTML document came. Unsigned Java applets should receive permission to connect to the code base as usual. If the applet is unsigned, and the document base is not the same as the code base, the intersection of these permissions should imply that JavaScript-to-Java calls should not be able to connect to any host on the network. Currently the code grants permissions to connect to the code base and ignores the document base for calls originating from JavaScript, which is not correct.

                                    

Comments
SUGGESTED FIX

http://analemma.sfbay.sun.com/net/jano2/export2/hotspot/users/kbr/webrevs/mjre/6611379_liveconnect_security_model/
                                     
2007-10-01
EVALUATION

Changed the client-side LiveConnectSupport class to initialize
permissions relative to the document base rather than the code base,
as desired in the new LiveConnect security model. Wrote custom test
case to validate new behavior. Tested on IE and Firefox browsers.
                                     
2007-10-01
EVALUATION

This bug is being marked as a duplicate of 6622332 for bookkeeping purposes and does not need to be re-verified independently. In the case of a regression please file a new bug.
                                     
2007-10-31



Hardware and Software, Engineered to Work Together