crossdomain.xml

How can I fix a Flash security error #2048

99封情书 提交于 2019-12-10 18:56:27
问题 I have having an error in flash #2048. Everything I can find points to the fact this this is a security precaution as the files are not on the same domain. We have a site running on Rackspace cloud servers, and are just now trying to use cloud files a CDN to speed up a product rotation tool that we use on our site. You can view the current working tool, using the files located on our server as well as my demo where I switched links to reflect the cloud files instead of the local files. ( EDIT

Flex crossdomain.xml not working correctly in Chrome/Firefox?

ぐ巨炮叔叔 提交于 2019-12-10 18:08:34
问题 I've spent quite a bit of time on this so here's where I'm stuck. I'm using the debug player 10.1 to get an XMLA request from: http://localhost/dir/blah.swf to: http://localhost/olapbin/msblah.dll This worked fine in the filesystem, but now its on an IIS7 web server. After a lot of fiddling with the crossdomain.xml file I settled on: <?xml version="1.0"?> <cross-domain-policy> <site-control permitted-cross-domain-policies="master-only"/> <allow-access-from domain="*" to-ports="*" /> <allow

How do I disable silverlight cross-domain content protection for WriteableBitmap

泪湿孤枕 提交于 2019-12-08 06:15:12
问题 I have an Esri map in silverlight and I am trying to get a screenshot. However, I am facing cross-domain content protection for writeablebitmap, saying "Pixels are not accessible". Is there a way that I can disable this? or any other work around in silverlight 3 or 4? 回答1: you can kind of hack around this by rehosting the image. basically you can set up a wcf service on your server that acts as a proxy to the map, then when silverlight does the security check on your media source it will see

How to configure the flex crossdomain.xml in Python Google App Engine Sdk

陌路散爱 提交于 2019-12-07 23:41:16
问题 I have created a flex application in the Python Gae sdk and I got the error 2048, so I put a crossdomain.xml under the static folder. The crossdomain.xml is following: <?xml version="1.0"?> <!DOCTYPE cross-domain-policy SYSTEM “/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>

How to configure the flex crossdomain.xml in Python Google App Engine Sdk

蓝咒 提交于 2019-12-06 04:47:35
I have created a flex application in the Python Gae sdk and I got the error 2048, so I put a crossdomain.xml under the static folder. The crossdomain.xml is following: <?xml version="1.0"?> <!DOCTYPE cross-domain-policy SYSTEM “/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, I add the following in the app.yaml: - url: /crossdomain.xml static_files: static/crossdomain.xml

When it says put crossdomain.xml in the root where would that be on IIS?

给你一囗甜甜゛ 提交于 2019-12-06 02:56:32
问题 Would it be wwwroot, C, the root virtual directory where the assets are hosted, or the same folder that the assets are in? Meaning if I have a virtual directory 'virdir' with a sub directory 'swf', which is really like C:\somedir\assets\swf\, where would the crossdomain.xml need to go so that my swf app on a different server can access the swfs? 回答1: you need to be able to access it as http://yoursite.com/crossdomain.xml so where would you put it to do that? As a rule of thumb I put it next

Why is Flash demanding a crossdomain.xml file when the .swf and http target are both on localhost?

青春壹個敷衍的年華 提交于 2019-12-05 17:22:34
问题 I've got a small client/server test application where I have a Flex app that makes an HTTP request of a server app. The server app is a script running on my local machine, listening on port 8001. The client is a swf that I am running locally, and uses mx.rpc.http.HTTPService to make the page request. The HTTPService is being set up as per below: _HttpService = new HTTPService(); _HttpService.url = "http://localhost:8001"; _HttpService.contentType = "text/xml"; When I make a basic page request

loading swf from AmazonS3 - crossdomain policy

不打扰是莪最后的温柔 提交于 2019-12-04 17:27:27
I have a flash app sitting in domainA which needs to load a swf which comes from an Amazon S3 bucket. On load I get the following error. "Error #2044: Unhandled securityError:. text= " I have put a crossdomain file in the bucket and presumed that would do the trick. How can i fix this? You can access S3 using bucket name DNS. So instead of s3.amazon.com/bucketname/filename it is bucketname.s3.amazon.com/filename. Using this method you can put your own crossdomain file in a root path <allow-access-from domain="bucketname.s3.amazonaws.com" /> The better method is to use CNAME records on your DNS

When it says put crossdomain.xml in the root where would that be on IIS?

扶醉桌前 提交于 2019-12-04 07:49:44
Would it be wwwroot, C, the root virtual directory where the assets are hosted, or the same folder that the assets are in? Meaning if I have a virtual directory 'virdir' with a sub directory 'swf', which is really like C:\somedir\assets\swf\, where would the crossdomain.xml need to go so that my swf app on a different server can access the swfs? you need to be able to access it as http://yoursite.com/crossdomain.xml so where would you put it to do that? As a rule of thumb I put it next to my index.html for the site. wwwroot will likely work for you. 来源: https://stackoverflow.com/questions

How do I specify a crossdomain policy file to allow Flash to grab a bitmap from an RTMP (Wowza) video stream?

半城伤御伤魂 提交于 2019-12-04 04:16:37
问题 I'm trying to get a bitmap/snapshot of a Wowza video stream playing on my client, like so: var bitmapData:BitmapData = new BitmapData(view.videoPlayerComponent.width, view.videoPlayerComponent.height); bitmapData.draw(view.videoPlayerComponent); When I do this, I get this error message: SecurityError: Error #2123: Security sandbox violation: BitmapData.draw: http://localhost:51150/Resources/WRemoteWebCam.swf cannot access rtmp://localhost/videochat/smithkl42._default/. No policy files granted