QueTwo's Blog

thouoghts on telecommunications, programming, education and technology

Domain Security? Nah!


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!


3 responses to “Domain Security? Nah!

  1. dandaniz February 27, 2008 at 12:10 am

    how can i use it
    pleas give some code

  2. Jepper March 5, 2008 at 6:57 pm

    nocrossdomain does not work. Not for pictures at least.

  3. vitata September 25, 2008 at 2:12 pm

    +1, it doesnt work for images

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: