Re: HTTPbis and the Same Origin Policy

On 12/3/09 1:26 PM, Adam Barth wrote:
> Imagine frame A is from foo.example.com and frame B is from
> bar.example.com.  Now, both set their document.domain to
> "example.com".  Once they do this, they can script each other, so
> frame A injects a script tag into frame B.  When that script runs, it
> can make a PUT request to bar.example.com with XMLHttpRequest.

Ah right. I got "example.com" stuck in my head and thought you were
PUTing to that.

Received on Thursday, 3 December 2009 21:36:33 UTC