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
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…
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…
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…
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