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
0
votes
1 answer
Cherrypy handling "no 'Access-Control-Allow-Origin' header is present" error
Over the weekend chrome seems to have updated and now blocks my cross-domain requests:
I have one server, two domains, and a shared web icon font on one that needs to load on the other. I'd rather not force cherrypy to be aware of which domain it is…

Marc Maxmeister
- 4,191
- 4
- 40
- 54
0
votes
1 answer
Why do browsers restrict cross domain AJAX requests but not cross-domain embedded files/ scripts?
Why do browsers disallow cross-domain AJAX requests, while JavaScript/ CSS files can be retrieved from other domains without issue?
I know there are ways to solve this, but I want to know what factors made browsers prevent cross-domain AJAX…

Ratnesh Lal
- 401
- 4
- 8
- 18
0
votes
1 answer
How can I use $.ajax to retrieve normal JSON as JSONP?
I have a normal JSON feed that I am polling at a url (normalJSONfeed). I am getting the cross origin policy error each time. How can I alter the $.ajax function to get around this limitation when I do not have any way of changing the JSON feed (in…

Startec
- 12,496
- 23
- 93
- 160
0
votes
1 answer
How to edit S3 response header Allow
I'm trying to upload some files inside a S3 bucket with a POST request (using plupload).
I'm getting a 405 (Method Not Allowed)
The policy is as follow:

framp
- 813
- 11
- 22
0
votes
2 answers
Access-Control-Allow-Origin error on two nodejs Servers
i have got a problem with socket IO connection from the page, witch geneerated by nodeJs server, to another nodeJs server listening by Socket.IO
The idea is contains of 2 tasks:
Generating HTML templates by one Express server
Support socket io by…

user2996204
- 51
- 1
- 3
0
votes
1 answer
Reading Cookie using bookmarklet
I am developing a bookmarklet that helps users share images. While authenticating the person, I need to read cookie set by domain: www.xxx.com.
The bookmarklet JavaScript is served by bookmarklet.xxx.com but since this JavaScript is rendered on the…

Talha Masood
- 993
- 1
- 7
- 22
0
votes
1 answer
Agent continuously poling openam
As found in openam document it says that either openam notifies about changes happened in policies and session, or agent should poll, either of the two should happen, also agent calles the sessionservice during the session validation and register a…

Phalguni
- 61
- 1
- 9
0
votes
1 answer
OpenAM call back in case of load balancer
While going through the openAm document I found that when a session is invalidated by admin, openAm notifies the agent about this, but suppose I have multiple copy of my application which are situated in geographically distributed location sitting…

Phalguni
- 61
- 1
- 9
0
votes
2 answers
cross-origin xhr and same-origin-policy
This is a concept that I thought I understood, but recently found out I had all wrong. I've looked all around the internet and find plenty of examples of small details and code snippets, but I still lack an understanding of what it prevents and why…

Phildo
- 986
- 2
- 20
- 36
0
votes
2 answers
Cross domain access issue with http://whateverorigin.org/
Hi I have used the http://whateverorigin.org/ origin to get content from other domain and display it on my domain.
The issue is my page uses https:// but (http://whateverorigin.org/) supports only http://.
If I change the url to…

786543214
- 855
- 4
- 14
- 29
0
votes
2 answers
Cross Domain Ajax request using Jquery and Ajax to get a value from the server
I am trying to make an Ajax request from my localhost to a php file in the server. As I am testing this, I am yet to do the real code in the PHP file. I just want the PHP file to get the posted value and echo the same. After getting the response…

Bala
- 3,576
- 10
- 46
- 74
0
votes
1 answer
Accessing objects and variables from swf across domains
I am trying to access a variable from a test.swf on b.com from a parent.swf on a.com.
test.swf:
Security.allowDomain("a.com");
var test = 0;
parent.swf:
var loader:Loader = new Loader();
var url:String = "http://b.com/test.swf";
loader.load(new…

ssn
- 2,631
- 4
- 24
- 28
0
votes
1 answer
Master policy file vs. crossdomain.xml in subdirectories
I have a swf on localhost which tries to read a text file from another server - example.com. The text file is in a subdirectory as follows: example.com/test/example.txt
First here are the contents of the root and the…

ssn
- 2,631
- 4
- 24
- 28
0
votes
1 answer
getJSON's fail event not being called when internet drops
I am running a single webpage 24/7 on two computers. One computer is running IE8, the other IE9. On this webpage is a javascript timer which runs $.getJSON to retrieve a cross-domain JSON object. The $.getJSON works perfectly under normal conditions…

noahnu
- 3,479
- 2
- 18
- 40
0
votes
1 answer
Socket.IO flashsocket security sandbox error
I have been playing around with node.js and socket.io for the past few days. Everything works fine on my local machine (windows using iss for a webserver), but when uploading it to my remote server (ubuntu box), I get security errors.
[trace]…

synergies
- 71
- 6