crossdomain.xml

SSL, Custom TLD's, Crossdomain.xml and Adsense. Can they play nicely?

无人久伴 提交于 2019-12-04 03:09:05
I have a new site I am working on that is using adsense. It is https://viewing.nyc and very much a work in progress. I have some adsense ads displaying on the site already and they work -- ins the sense that they actually display ads -- but they output a ton of garbage in the Safari console. The message I constantly see is the classic: Blocked a frame with origin "https://googleads.g.doubleclick.net" from accessing a frame with origin "https://viewing.nyc". Protocols, domains, and ports must match. So, I have been playing around with it for a few days here and there, googling for solutions and

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

a 夏天 提交于 2019-12-04 03:08:26
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, my server app is first receiving a "GET /crossdomain.xml HTTP/1.1" request, which is failing since I

flex load policy file crossdomain.xml

走远了吗. 提交于 2019-12-02 02:02:50
问题 I want to place my crossdomain.xml file in a different location than the root because it just creates to much dependency issues. How can i tell flex to look from my crossdomain.xml file somewhere other than the root?Do i add the loadPolicy code to the init method of my flex app? Does anyone have any good samples on this? 回答1: From the docs: loadPolicyFile() method Looks for a policy file at the location specified by the url parameter. 回答2: There is another option. If a cross domain policy

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

馋奶兔 提交于 2019-12-01 23:30:31
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 access. I presume the error comes from not being able to locate the appropriate crossdomain.xml file.

Cross domain policy file over net.tcp for WCF servicehost and Silverlight 5

大城市里の小女人 提交于 2019-12-01 11:55:27
问题 I have a locally hosted WCF service and a silverlight 5 app that communicates with it. By default silverlight tries to obtain the cross domain policy file over HTTP when making calls to the WCF service. I need to change this so that the policy file is served over net.tcp port 943 instead. I have setup a local tcp listener that serves up the policy file over port 943 and i have followed this technique whereby i make a dummy socket connection in order to obtain the policy file over tcp as it is

Writing Flash crossdomain.xml for Amazon S3

爱⌒轻易说出口 提交于 2019-12-01 10:38:18
问题 I have two servers. Server A is an internal server that has access from the outside world set up here in my office. It has a Rails server running on it. I have a second server, Server B, that contains all our static content (images, swfs, javascript, css, etc.), it is an Amazon S3 server. I have given all these files public access. What I am attempting is to put a swf from Server B on a page served by Server A. Then, the other assets that the swf requires in order to display get dynamically

What is the sense of crossdomain.xml and clientaccesspolicy.xml when there is e.g. PHP/cURL?

折月煮酒 提交于 2019-11-30 20:01:30
So let's say I have a site and I do not have a crossdomain.xml or clientaccesspolicy.xml on it. This means that people cannot access my site via Silverlight or Flash applications. But they can use, say cURL in PHP (or the equivalent in other languages) to get the information from my site and provide it to their Silverlight and Flash applications via REST or WebService, etc. Can someone explain exactly how these restrictions protect my site, e.g. from cross domain scripting? What are they protecting against that couldn't be done with PHP/cURL and equivalents which do have access to my site via

What is the sense of crossdomain.xml and clientaccesspolicy.xml when there is e.g. PHP/cURL?

折月煮酒 提交于 2019-11-30 03:59:35
问题 So let's say I have a site and I do not have a crossdomain.xml or clientaccesspolicy.xml on it. This means that people cannot access my site via Silverlight or Flash applications. But they can use, say cURL in PHP (or the equivalent in other languages) to get the information from my site and provide it to their Silverlight and Flash applications via REST or WebService, etc. Can someone explain exactly how these restrictions protect my site, e.g. from cross domain scripting? What are they

Annoying Error #2048: Security sandbox violation from localhost

孤人 提交于 2019-11-29 15:04:59
This is my crossdomain.xml that I put in the same folder of my Web.config : <?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="*" secure="false" /> <allow-http-request-headers-from domain="*" headers="*" /> </cross-domain-policy> Although I can load using Security.loadPolicyFile("http://localhost:52090/crossdomain.xml") . When my swf try to comunicate with my local site (asp.net mvc) it says: Error #2048: Security sandbox

Java and crossdomain.xml

筅森魡賤 提交于 2019-11-29 07:39:25
Does anyone have any experience with Java pulling data from another domain? Assuming my client has a minimum of 1.6.0_10, how likely is it for it to work. I've seen some posts saying it works, then others saying it doesn't, and still others saying it's broken in the later micro-updates. Any insight would be appreciated. Thanks, -Dan The crossdomain.xml in 6u10 has restricted functionality. It requires a policy allowing any code from any site to connect. See the documentation for more details. There has been at least one case where an early access release has broken crossdomain.xml , but fixed