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
3
votes
3 answers
Read javascript file in browser despite syntax error
Let's say I have a csv on a domain that I don't control at all and I want access to it on my page:
Of course, this will throw a syntax error when the browser tries to parse the csv as it is…

Matt York
- 15,981
- 7
- 47
- 51
3
votes
0 answers
Using JSONRPC with JQuery?
How do I get JSONRPC working properly with JQuery on the client-side, on the referenced types of calls?
To represent my attempt, I've tried to create the smallest possible test-case:
Server[1]
from txjsonrpc.web import jsonrpc
from twisted.web…

user1438003
- 6,603
- 8
- 30
- 36
3
votes
3 answers
How to access the data from different server through AJAX call without JSONP?
I'm working on the project where the client has the back-end code in ServerA, and my front-end code, which is supposed to talk to back-end via AJAX requests is on ServerB, and they are in different domains. Because of the same origin policy, I'm not…

Sherzod
- 5,041
- 10
- 47
- 66
3
votes
1 answer
getting crossdomain error in silverlight and clientaccesspolicy 304 error
I need to write some data to the DB from a Silverlight 4 application.
I'm using a Silverlight Enabled WCF Web Service. I've published it to IIS7 and added a ClientAccessPolicy.xml file to the inetpub/wwwroot (among other places) so I can access…

user1426409
- 31
- 3
2
votes
1 answer
Silverlight policy server on custom port?
By default silverlight checks for cross domain policy on port 943. You can also change the SocketClientAccessPolicyProtocol property of the SocketAsyncEventArgs to check using HTTP on port 80.
I have an in-browser silverlight app and am in a…

Aboo
- 2,314
- 1
- 18
- 23
2
votes
2 answers
Can't post a form to a different subdomain via Ajax (WARNING: Can't verify CSRF token authenticity)
I trying to send a remote form to a different subdomain (example.domain.com) from the one of the form (domain.com), but i keep getting the warn WARNING: Can't verify CSRF token authenticity in the log, and inspector in chrome tells me that the…

Leandro Maioral
- 23
- 1
- 5
2
votes
0 answers
Third Party Cookie Blocking issue using ajax http calls in 2021 (ITP restrictions)?
Faced with issue, when browser can't send cookies to different domain during ajax call, even
SameSite cookie attribute set to none, secure attribute set to true
withCredentials ajax param set to true
So, looks like we faced with Third-Party Cookie…

Nigrimmist
- 10,289
- 4
- 52
- 53
2
votes
0 answers
Is there a way to login user in an iframe (origin abc.com) on website 123.com
i have a website abc.com
I have posts on that page where user can vote, add arguments and comments.
I am providing embed code(iframe) to embed my post detail page on other websites, Example 123.com
But now user is not able to login inside the iframe…

Kamal Anand
- 21
- 1
2
votes
1 answer
Can an iframe specify a whitelist of domains that can access its innerHTML, contentWindow, contentDocument etc?
Can a iframe specify a whitelist of domains that can access its innerHTML, contentWindow, contentDocument etc ?
what I mean is for example
2
votes
0 answers
CORB blocking JSONP GET Request
Attempting to tap http://www.anagramica.com/api to determine all words that can be made from an inputted word. As expected cross-origin policy does not allow using a normal GET request to receive the JSON data. On the anagramica homepage, JSONP is…

Caleb Carithers
- 35
- 2
- 5
2
votes
2 answers
JSONP question for making PUT/POST/DELETE cross-domain requests
I've created a RESTful API that supports GET/POST/PUT/DELETE requests. Now I want my API to have a Javascript client library, and I thought to use JSONP to bypass the cross-domain policy. That works, but of course only for GET requests.
So I started…

Mark
- 67,098
- 47
- 117
- 162
2
votes
1 answer
If impossible to modify header in JSONP. How does twitter extension in Chrome work?
Now I'm working to do twitter client with Javascript.
After I read this topic, I have question
Modify HTTP Headers for a JSONP request
He told impossible way to modify HTTP Header when using JSONP.
If it's true. How does twitter extension work in…

diewland
- 1,865
- 5
- 30
- 41
2
votes
0 answers
Change domain in call to window.history.pushState()
I have a small multilingual site organised as multiple subdomains of the same domain, each prefixed with the language's ISO 639 code. There is also a general www. subdomain with the logic to handle redirection to an appropriate language subdomain,…

Carvo Loco
- 2,068
- 13
- 21
2
votes
2 answers
Cross domain image file upload issue using CORS - ASP.NET Web API and jQuery
I am in a need of uploading cross-domain images using ASP.NET web API and AJAX. I am new to this approach.
HTML