metalaureate
asked on
IFRAME RPC causes IE to complain that page contains secure and insecure items
Hi Experts
I use an IFRAME to make a Remote Procedure Call to the server. Both the main page, and page called by the IFRAME are https:// secure, however, IE raises the error that the page contains both secure and insecure items. Any one know why and how to avoid it?
Here is the code that creates the IFRAME:
var tempIFrame=document.create Element('i frame');
tempIFrame.setAttribute('i d','RSIFra me');
tempIFrame.style.border='0 px';
tempIFrame.style.width='0p x';
tempIFrame.style.height='0 px';
IFrameObj = document.body.appendChild( tempIFrame );
I use an IFRAME to make a Remote Procedure Call to the server. Both the main page, and page called by the IFRAME are https:// secure, however, IE raises the error that the page contains both secure and insecure items. Any one know why and how to avoid it?
Here is the code that creates the IFRAME:
var tempIFrame=document.create
tempIFrame.setAttribute('i
tempIFrame.style.border='0
tempIFrame.style.width='0p
tempIFrame.style.height='0
IFrameObj = document.body.appendChild(
is that not a browser security setting?
It is a browser security setting... and it is correct..
since you can change src of a IFRAME using JavaScript, having an IFRAME at all is an unsecure item.
since you can change src of a IFRAME using JavaScript, having an IFRAME at all is an unsecure item.
ASKER
Could you explain how an IFRAME with SSL is insecure, as compared to a normal page with SSL?
it is not the iframe it is the content.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks, that fixed it.