For example, I want to get Google’s weather.
I read through the WWW class “Google”
Then Unity Tip: SecurityException: No valid crossdomain policy available to allow access
UnityEngine.WWW.get_text ()
I hate! how to do?
For example, I want to get Google’s weather.
I read through the WWW class “Google”
Then Unity Tip: SecurityException: No valid crossdomain policy available to allow access
UnityEngine.WWW.get_text ()
I hate! how to do?
You must write an own “wrapper” php on your page to request something, you can not freely access domains on the web, that against any reasonable security.
Please read the manual page on Security sandbox in unity 3.0 webplayer to find out more about it
wrapper…wrapper…Can only do so?
If you access domains you don’t own, then yes.
Because if you don’t own the domain and hosting behind it you can’t add the crossdomain.xml and as such you can’t request data from it (exception is images which then are downloaded as non-modifyable)
Thanks for dreamora.
@dreamora: those textures are modifyable, however they are unreadable. so you can disply them, but as a content developer you cannot get your hands on the bits. Once you display one, we also disable the ability to read pixels from the screen.