javascript - XSS security. Communication between 2 iframes from the same domain -
The domain abc.com contains a page with 2 iframes. Both of these domains are loaded from xyz.com. Will XSS security block JavaScript / contacts / contacts between those two iframes? As Joel says, the guardian will block access to the window as it says.
You can set a communication channel between client-side scripts on separate documents / frames / windows from the same domain using cookies Write a document as a cookie Sets document.cookie
for the second, reads the document.cookie
on one interval polar, finds something new in it, and believes that the message.
This is really annoying, as you have to get each document identified and get the signal when it is sending the message. The last resort method, in fact.
Comments
Post a Comment