flash - Security sandbox violation in Windows Server 2008 -


i experiencing security violation error when make http requests webserver.

error #2044: unhandled securityerror:. text=error #2170: security sandbox violation: 

i have following crossdomain file in root of server, , using same configuration in server host in machine. however, webserver unable connect windows server 2008 r2

this crossdomain.xml file:

<?xml version="1.0"?> <!doctype cross-domain-policy system "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"> <cross-domain-policy>     <site-control permitted-cross-domain-policies="all"/>     <allow-access-from domain="*" to-ports="*"  secure="false"/>     <allow-http-request-headers-from domain="*" headers="*" secure="false" />  </cross-domain-policy> 

and .as file

security.loadpolicyfile("http://123.456.789.123:8000/crossdomain.xml"); security.allowdomain("*");  (...)  var enc:base64encoder = new base64encoder();     enc.encodebytes(mybytes); var base64str:string = enc.tostring();  var url_request:urlrequest = new urlrequest(); url_request.url = "http://123.456.789.123:8000/app/res/func"; url_request.contenttype = "text/plain"; url_request.method = urlrequestmethod.get;  var requestvars:urlvariables = new urlvariables(); requestvars.base64 = base64str; url_request.data = requestvars; url_request.requestheaders.push( new urlrequestheader('cache-control', 'no-cache'));  var loader:urlloader = new urlloader(); loader.dataformat = urlloaderdataformat.text;//binary; 

i have virtually tried every possible configuration of crossdomain properties nothign seems work. makes strange same configuration works server. there windows server 2008 specificity have overlooked? tips?

thanks.


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -