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
1 answer

Work around for iFrame cross domain policy?

I have an iFrame and, understandably, I can't edit the elements. Is there a work around for this, like using some sort of proxy? I would need it to work for any website and have things like sessions and cookie data persist (for logins etc). Is it at…
Cheetah
  • 13,785
  • 31
  • 106
  • 190
3
votes
2 answers

Error accessing RSS feed from Silverlight with WebClient()

I'm downloaded the code from John Papa's book here: http://silverlight-data.com/ and am sucessfully running the Chapter 7 example which allows you to press a button and it reads RSS from digg.com and then displays it. So, then I replaced the digg…
Edward Tanguay
  • 189,012
  • 314
  • 712
  • 1,047
3
votes
1 answer

Issue loading webfonts when served from AWS Cloudfront

So, here's my conundrum! I have been trying to get Cloudfront to play nicely with my nginx server for the past three days...have read countless StackOverflow posts and blog articles...scoured the interwebs and I am still stuck with issues…
kaffolder
  • 381
  • 3
  • 10
  • 21
3
votes
0 answers

How to disable web-security in JavaFx WebView?

I am writing a JavaFx application and using WebView to load HTML. The JavaScript makes cross-domain calls. Dan you help to disable the web-security in JavaFx to make cross-domain calls possible?
3
votes
1 answer

AngularJS cross-domain requests using $http service

I'm trying to learn AngularJS by making a simple web app using the Twitch API (https://github.com/justintv/Twitch-API) but I'm having trouble performing a GET request since it's a cross-domain request. This is what I have…
Isaac Perez
  • 570
  • 2
  • 15
  • 31
3
votes
2 answers

How to serve policy file from Socket.IO/Node.js

I've created a Socket.IO server which pushes listing details to connected clients. Over HTTP in a browser, everything works as intended using web sockets, however one of the client types that will consume the service is strictly Flash (not socket…
trnelson
  • 2,715
  • 2
  • 24
  • 40
3
votes
0 answers

How to get right result from "whateverorigin.org" despite of question mark?

I tried out "whateverorigin.org" for overcoming the cross-domain policy. It works fine, except if the URL of the other page contains parameters and a question mark. var url =…
xampper
  • 91
  • 7
3
votes
1 answer

Is it possible to send GWT-RPC calls to another server?

Assume that I've following GWT service: @RemoteServiceRelativePath("greet") public interface GreetingService extends RemoteService { String greetServer(String name) throws IllegalArgumentException; } I build & deploy client code on…
Ehsan Khodarahmi
  • 4,772
  • 10
  • 60
  • 87
3
votes
1 answer

With correct headers and OPTIONS request, still getting "No Access-Control-Allow-Origin header is present on the requested resource"

So I'm trying to make a cross-domain AJAX request with javascript. My OPTIONS request is executing without any problems, and I'm getting back Access-Control-Allow-Origin:* as a response header. However, when trying to make the subsequent POST…
robert.bo.roth
  • 1,343
  • 3
  • 14
  • 24
3
votes
2 answers

ajax post request is No 'Access-Control-Allow-Origin' header is present on the requested resource.'

I'm just making an ajax post request and I'm getting an error like: XMLHttpRequest cannot load https://xxx.com?redirect_uri=http://www.example.com. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin…
harishkumar329
  • 1,210
  • 4
  • 16
  • 34
3
votes
1 answer

Canvas, iframe and Access-Control-Allow-Origin

I am getting crazy with this problem, and hope there is a solution or workaround. I have a canvas inside an iframe, in a different domain (for security reasons). This canvas shows a Processing.js animation/drawing. I need to allow the canvas to load…
taseenb
  • 1,378
  • 1
  • 16
  • 31
3
votes
1 answer

How can I get a web page within an iframe to load its own JavaScript?

This is for when the page containing the iframe is on a different domain. For example, when loading this page in an iframe ( http://bleacherreport.com/articles/1707335-5-green-bay-packer-players-who-will-surprise-in-training-camp ), the slideshow…
Tony Paternite
  • 153
  • 1
  • 14
3
votes
3 answers

How to use meta tag to declare http Access-Control-Allow-Origin

Access-Control-Allow-Origin is typically declared as an HTTP header to enable a browser to fetch content from remote domains. Is it possible for this to be declared via the HTML tag?
ir-g
  • 252
  • 1
  • 3
  • 18
3
votes
1 answer

Cross Domain AJAX Post using easyXdm

I am trying to get a cross domain AJAX post to work using the easyXdm library. In my local development environment I have two sites: 1. http://localhost/MySite/ws/easyXDM/cors/index.html (EasyXdm file) 2.…
Seany84
  • 5,526
  • 5
  • 42
  • 67
3
votes
0 answers

Django Admin popups broken

I'm working on a Django project and, as part of good practices, I have my static content and media being served from cookieless domains. Of course, in order to do this and still use things like Google Analytics, etc., I serve all documents from…
1 2
3
13 14