Questions tagged [cross-domain-policy]

Cross-domain policy refers to the browser restrictions on script, stylesheet, and plugin execution across domains, protocols, and ports.

201 questions
1
vote
1 answer

Loading google maps static images into flash

I'm trying to load images from google maps static images api into flash. When I attempt to load them flash complain about sandbox issues. Even after I try and load the policy file from…
user379468
  • 3,989
  • 10
  • 50
  • 68
0
votes
3 answers

Need to have SWF on a server but data on another

I need to host my full-Flash SWF site on "xx.com" server. But all graphics and sounds have to be loaded off "yy.com" server. Inside my AS3 code, all data is loaded by absolute addresses, e.g: http://yy.com/file1.jpg http://yy.com/file2.jpg If I run…
0
votes
1 answer

Flex: Does SecureSockets' is encrypted with the target servers public key?

I have an Apache SSL connection available with a C# server that listens to port 843 (i wrote a basic c# server since i don't know how to make Apache respond properly upon a specific request). When using the Socket object, all seems to be find and…
silicakes
  • 6,364
  • 3
  • 28
  • 39
0
votes
1 answer

xampp/wamp based Apache server custom reply

How can I send a custom response upon a custom request on a xampp/wamp based Apache server upon a connection to a specific port? I'm trying to reply to the \0 a flash app is requesting in order to allow a crossdomain http GET request. The flash…
silicakes
  • 6,364
  • 3
  • 28
  • 39
0
votes
1 answer

Javascript Manipulation of DOM Within iFrame From Opened Window

My main page is from "DomainA" and I have an iFrame within that from "DomainB". The page within the iFrame has an onclick event to open a window, also from DomainB. I'm trying to update an input field inside the iFrame from the opened window…
Ruxta
  • 696
  • 6
  • 8
0
votes
2 answers

Not receiving string when opening a secure socket from flash

I have an app that is trying to open a secure socket connection on a web server. I hosted a small code that servers the policy file on port 843 as is required by flash player in order to make the socket connection. But i am not receiving the…
0
votes
1 answer

How to add crossdomain.xml in sub directory

The spec for cross domain policy files says that you can put a the crossdomain.xml file outside the root through the use of a X-Permitted-Cross-Domain-Policies header. How exactly does one go about doing that? I want to put a crossdomain.xml file in…
ryanve
  • 50,076
  • 30
  • 102
  • 137
0
votes
1 answer

flash socket policy files requirement

Last time I worked with flash sockets I knew that a policy file is required only if the swf file is embedded in a different domain from the one where the socket connection is about to be made. Did newer version of flash player changed this, so now…
Doua Beri
  • 10,612
  • 18
  • 89
  • 138
0
votes
1 answer

Policy File Check closes socket

I have created a flex app that uses sockets. I published the flex app in a web application that runs on glassfish server. Now from that flex app i create a socket connection to a C# server and start sending/receiving data. The problem is that after…
user967176
0
votes
1 answer

SharePoint 2010 CrossDomain.xml file

We have deployed a crossdomain.xml file into the root of Sharepoint 2010 instance in order to define the flash cross domain policy. In SP2007 this worked as expected, but it SP2010 the file name is blocked. If we rename the file anything other than…
TheCodeKing
  • 19,064
  • 3
  • 47
  • 70
0
votes
1 answer

Jquery Cross-domain Problem when try a put reques in

I try to make a PUT request on JQUERY to a RESTFULL service, when try make the request to url with localhost (http://localhost/Domain) the request work. But when change the url to some ip (http://192.123.32.3) the operation on the server don't…
mastervv
  • 382
  • 1
  • 4
  • 20
0
votes
0 answers

Response body is not available to scripts (Reason: CORS Allow Origin Not Matching Origin) in response header of browser - [AJAX Call]

My site is https://a.com. I making an AJAX call to https://b.com, where my pageAction method resides and I make update operations on the database where the result is then converted to JSON. I need to show the result in a.com using an alert and…
0
votes
0 answers

How to detect a click event on specific button in cross domain iframe?

I have an Apple podcast embed on my page wherein I need to add some code for analytics tagging based on clicks on play and pause buttons. I have achieved this for Spotify embed using their iFrame API however Apple podcasts don't seem to have one. As…
0
votes
1 answer

IIS Configuration to allow cross domain JSONP requests from a JavaScript file

I have an HTML and JavaScript file set up to retreive data from a JSONP enabled web service. My problem is that when I deploy the html and .js file to the directory where the service is running it will execute fine, but if I try to run the html and…
jnusz
  • 1
  • 1
  • 2
0
votes
1 answer

Simulate mouse click with exact X/Y coordinate in JavaScript without document.elementFromPoint

I am trying to simulate clicks in chrome extension developing. The normal method I could find online is document.elementFromPoint().click(), but that does not work for my case. I am trying to simulate clicks in the range of a cross-domain iframe. So…