Domain Security? Nah!
January 4, 2008
Posted by on
I recently ran into an issue for an RSS reader I was writing… I was trying to consume an RSS feed from a domain I had no control over, and you guessed it… no crossdomain.xml file on the server!
For those who haven’t run across the dreaded Domain Security warning, you can’t connect to a host other than the one that hosts your SWF file unless it explicitly allows you, via the crossdomain.xml file located on the root of their web server. This poses a problem if you innocently try to consume things like web-services or RSS feeds from sites that you don’t own.
However, there is a fix to the entire mess. http://www.nocrossdomain.com setup an ingenious redirector that will allow you to get around the security sandbox that the Flash Player has. They host a crossdomain.xml file that allows any player’s domain to connect to it, and it will do an HTTP redirect to the file you wish to consume.
Simple as that!! Get your RSS without any hassle!