I’m trying to use GetPixels on images that I download using the WWW class.
When I download from my dropbox account:
http://dl.dropbox.com/u/39740706/wordsmith/hat_on.png
…I can do GetPixels just fine. But when I change nothing but the url, and download the same file from my website:

…it says “SecurityException: No read access to the texture data”.
What is making the difference here?
The fact that you download the image from a non safe URL. As you can read in the documentation, more explicitely the security sandbox manual page, you will see that Get/Set Pixel and ReadPixels get disabled if you load images from unsafe locations.
Unsafe means that it has no crossdomain.xml
the manual page also explains why this is present and required (it applies to all webtechnologies as far as I’m aware, thats no unity thing. web games should be developed around these web standards on security or shouldn’t be targeted at the web at all)
Thanks!
Reading the WWW scripting page carefully, I see it does actually mention this, vaguely… but it really ought to have a link to the security page. I was baffled. 