News for hackers. Stuff that matters.
Re:Throw 1; < don't be evil by eddieplan9 on Friday November 26, 2010 @08:36AM (#1942348)
That's extremely smart. XMLHttpRequest protects you via the same origin policy. But there are other ways (such as JSONP) to load JavaScript and bypass the same origin policy. It's not like you cannot opt out of things like JSONP, but this trick adds another layer of protection and is particularly useful in fighting XSSI.

There are no comments on this comment yet.