Cross-domain policy refers to the browser restrictions on script, stylesheet, and plugin execution across domains, protocols, and ports.
Questions tagged [cross-domain-policy]
201 questions
6
votes
1 answer
Access to XMLHttpRequest has been blocked by CORS policy in ASP.NET CORE
I tried to make connection from my side client to the API Server with ajax, but I get a error in the response :
Access to XMLHttpRequest at 'https://localhost:44381/api/webinars' from origin 'http://localhost:5003' has been blocked by CORS policy:…

Julio
- 355
- 1
- 4
- 14
6
votes
2 answers
Cross-domain error Silverlight + WCF
I have read most of the topics covering cross-domain error and still cannot get it working. Within the website, I load Silverlight module which communicates with WCF Webservice. On localhost, it works fine, no error occurred.
I have Webservice…

Maximus
- 3,458
- 3
- 16
- 27
6
votes
1 answer
Restangular crossdomain request. What I do wrong?
I have domain sub.example.com with configured restangular:
RestangularProvider.setDefaultHeaders({
'Content-Type': 'application/json',
'X-Requested-With': 'XMLHttpRequest'
});
RestangularProvider.setDefaultHttpFields({
'withCredentials':…

Miraage
- 3,334
- 3
- 26
- 43
5
votes
2 answers
authenticate using facebook connect through multiple domains via cross domain php?
I know that it's basically impossible to assign more than one domain to one facebook app. But... is there a way for me to communicate to the connect script on a php page that is in another domain specified as the app url?
So like this:
[many…

Brandon Runyon
- 231
- 1
- 4
- 14
5
votes
1 answer
Sending requests to facebook as a user from a third-party app
I need to initiate searches on facebook marketplace from my application on the user's device. This needs to happen on the user's device, and as the facebook user associated with the user using the application, to avoid getting blocked by facebook.…

user2268997
- 1,263
- 2
- 14
- 35
5
votes
1 answer
AJAX Cross-Domain problem
I have following problem. My webapp is running at
http://webapp.mysite.com/browser/
And I want to make a request to
http://mysite.com/request?....
If I make a standart ajax call with the second url I get an error message , domain (same-origin)…

DarkLeafyGreen
- 69,338
- 131
- 383
- 601
5
votes
1 answer
refresh iframe from inside itself with different domains
i have a webpage which is housing my iFrame which is from a different domain.
Now i have a button inside the iFrame which when pressed, needs to refresh or reload the iframe.
I've tried a few methods which are blocked due to cross domain attempts..

Dustin Silk
- 4,320
- 5
- 32
- 48
5
votes
1 answer
Cross domain restrictions and subdomains
Is there a cross domain policy restriction for subdomains?
If I have an application on paint.xxxx.com which is manipulating images from image.xxxx.com, are there any cross domain problems?
I'm asking these questions, because I'm considering putting…

mcbjam
- 7,344
- 10
- 32
- 40
5
votes
3 answers
Zend Framework 2 - AJAX Request from other server
I have 2 domains (domain A, domain B).
On domain A is placed ZF2 application, and everything is ok.
On domain B is placed Landing Page (small site with form to collect data).
From Landing Page I want send form data to application on domain A (AJAX…

user1853459
- 51
- 1
- 2
4
votes
1 answer
How Can I Disable Cross-Domain Policy Request?
I started to work on unity3d. I just wanna send/receive data between Unity3D and Raspberry Pi. I used socket programming for that. But when I try to connect my Raspberry Pi, Unity send me error message that "Unable to connect as no valid…

Burak Helvacı
- 41
- 2
4
votes
2 answers
XSLT document() usage with WebKit browsers
I'm having an issue when attempting to include and access multiple XML documents in an XSL stylesheet. I'm assigning document nodes as variables and then attempting to access them in my xsl:template, similar to this:

Roger V
- 63
- 1
- 5
4
votes
2 answers
"SecurityError: Error #2122" on loading content from a redirected image
This happens on many occasions when loading content from the web, but for us, it's most common loading images through Facebook's graph shortcut call.
Something as simple as:
package
{
import flash.display.Loader;
import…

seaders
- 3,878
- 3
- 40
- 64
4
votes
1 answer
Interaction between JS and API server on different port
I have an API server running on port AAAA and the JS frontend app (emberjs, using yeoman) running on port BBBB on the development machine. On the live server these ports will be the same. Unfortunately on the development machine I run into cross…
user187676
3
votes
1 answer
Where do I put a crossdomain XML in Tomcat?
I have a cross-domain policy file I wish to add to a Tomcat server I have.
If the tomcat is localhost:8080 and installed in /usr/local/tomcat/
Where would be that root folder where I should put this policy file?

Itay Moav -Malimovka
- 52,579
- 61
- 190
- 278
3
votes
1 answer
SECURITY_ERR: DOM Exception 18 ONLY IN Safari
i got two servers (prod.example.com and img.example.com)
so on "prod" i process images from "img" using canvas
in FF and Chrome all is Ok
but in Safari i got this SECURITY_ERR: DOM Exception 18: An attempt was made to break through the security…

fullpipe
- 368
- 4
- 14