Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Crossdomain.xml on netty server?

Explorer ,
Jun 10, 2013 Jun 10, 2013

Hi all,

When i run my application it shows :


"Warning: Found secure='true' in policy file from xmlsocket://10.0.0.17:843, but host 10.0.0.17 does not appear to refer to the local machine.  This may be insecure.  See http://www.adobe.com/go/strict_policy_files for details"

My swf file is placed in a wamp server 10.0.0.11. It tryed user amf 3 java netty server socket connection. When it attempt to send request it shows the above warning and there is no response to client.

I try to place crossdomain.xml on the netty server. But i dont know whats the root of the netty server

I tryed this too...but no use

var tmpStr:String= "xmlsocket://10.0.0.17:843";
Security.loadPolicyFile(tmpStr);

Thanks,

Siva

TOPICS
ActionScript
892
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 10, 2013 Jun 10, 2013
LATEST

the easiest way to avoid cross-domain issues, is to use a local executable (like a php file) and have that executable load your cross-domain assets and pass them to your local swf.

otherwise, you must correct your crossdomain.xml file.  to start, you need a cross-domain meta policy file that is in the host server's root directory.  if you don't have access to the root directory, you don't control that server and you are not allowed to place policy files on it.  (see above solution.)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines