cross-domain

Are Cross Domain Flash Local Shared Objects (LSO aka Flash Cookie) possible

Hi, I found several solutions for creating Flash LSOs from JavaScript (for example: http://www.nuff-respec.com/technology/cross-browser-cookies-with-flash ) If Page (www.hostA.com/index.html) and the .swf file are from the same site, everything works fine. No I'm trying to load the page form www.hostA.com/index.html, which includes www....

Embed form in another website - pitfalls

Scenario: We provide a hosted site that clients pay to use internally (a tool to support their business workflow). We have a requirement to provide a form that the clients can 'embed' in their outward facing site. This form will permit a member of the public to enter some details to register an interest - this data will be pushed to o...

AS3 URLRequest XSS?

Im basically working on an image analyser that downloads images from another server. I have no control over the server but I only want to scan images not html pages. would something like this work? new URLRequest('http://otherserver.com/someimage.jpg'); Or would I have to use a PHP script to act as a proxy for my script and have the ...

Crossdomain settings in Google Chrome

Hi Folks, I'm wondering, in IE & Firefox you're able to setup the browser, to allow cross-domain calls. I can't find any option in chrome for that (actually, there are in general not too much options at all...) are there any about:config like things? Kind Regards --Andy ...

Yet Another crosdomain.xml question or: "How to interpret documentation correctly"

Hi! I have read a lot about the new policy-policy of flash player and also know the master policy file. Now image the following situation: There are two servers with services (http) running at custom ports servera.com:2222/websiteA serverb.com:3333/websiteB Now I open a swf from server a (eg. servera.com:2222/websiteA/A.swf) that wan...

gdata and Silverlight (crossdomain.xml)

Hi! I'd like to access the the google calendar api from a Silverlight client. Problem is that there's no crossdomain or clientaccesspolicy that allows calls from my client at www.google.com/crossdomain.xml Question is: Will a call from a SL running out of browser, and in full trust still be classified as a crossdomain call? Are there ...

How to access different domain data using Java script

Hello there, Here is the issue. Suppose there is a DOMAIN A which is going to be the server containing a PHP Script file. The data from Domain A is to be accessed by a Client at DOMAIN B. I know it cannot be accessed directly using JavaScript. So what I did is, in Domain A I created a a JavaScript file as front-end for the PHP Script ...

Silverlight 4 - Download an html page from a different domain IN BROWSER?

I am trying to download a page using Silverlight 4 (http://google.com/) from a different domain than where the app is hosted. I'm simply curious if this is possible in the browser. I know I can do it out of the browser, as I tried it already, but trying it in the browser gives a security exception (understandable). I'd like to know ...

greasemonkey: perform GM_xmlhttpRequest() from eval (follow up)

How can you call GM_xmlhttpRequest inside of an eval where you are evaling some complicated code, some of which calls GM_xmlhttpRequest. This is a follow up to http://stackoverflow.com/questions/1074236 Here is some sample code: // ==UserScript== // @name Test GM AJAX // ==/UserScript== console = unsafeWindow.console; functi...

flXHR - getting started (a simple question)

Hello, I am trying to use the flXHR javascript library for making cross-domain calls. I got stuck at the begining. As they say in the docs, I copied the /deploy directory's content to a /scripts directory. All the dependencies are supposed to be included in the flXHR download. This is my html, which returns several errors: ...

Retreiving data from MySQL with html/javaScript on one domain and the PHP file on the other

I need to retrieve data from a MySQL database, and have it work one way for all types of servers. For example it should work on a server that runs no server side language, it should also work on LAMP, and IIS. I was thinking about using ajax and xmlhttprequest, but learned of the cross domain limitation. I also tried to just include the...

JS - information from pop-up window to the window which opened the popup

I have programmed some launcher for a game, so you can actually start the game and make it automaticly do various things with just one click from the browser. To make it easier for people to make their own custom links, I've tried to build something where they can create the links with just a few buttons. It works like this: The protoco...

Embed external website inside a page

I'd like to load something from website B into a page on website A and contain the functionality of website B within a container on website A. I tried doing this using a div and jQuery's load() method but I run into cross-domain-scripting issues (I think, it works with a local file but not a remote URL). I also tried using an iframe bu...

How to load a XML file on another domain than our [cross domain problem]

Hello, I've got an XML file on my serveur, and my parteners have to access it via a javascript i'm coding. It's working perfectly in local, but as soon as i do : xmlDoc.async=false; xmlDoc.load("/export/export.xml"); to xmlDoc.load("http://www.something.com/export/export.xml"); It stopped working. I know that it's to avoid XSS...

Crossdomain xml and flash

Hello, I have a web server application (based on python). Flash applications which are located at this server should connect to the server. The trouble is in crossdomain.xml. <?xml version="1.0"?> <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd"&gt; <cross-domain-policy> <allow-access-from do...

Maintaining session across relay domain?

I'm building a payment page in asp.net, however the page where you order your items is run in HTTP (non-secure) on my domain. When redirecting the user to the payment site, I have to go through a different domain (my payment provider, from whom I borrow the SSL certificate), so my payment url ends up like https://www.paymentprovider.com...

3 questions about JSON-P format.

Hi, I have to write a script which will be hosted on differents domains. This script has to get information from my server. So, stackoverflow's user told me that i have to use JSON-P format, which, after research, is what i'm going to do. (the data provided in JSON-P is for displaying some information hosted on my server on other websi...

How can I access a parent DOM from an iframe on a different domain?

I have a website and my domain is registered through Network Solutions (who I would not recommend). I'm using their Web Forwarding feature which allows me to "mask" my domain so that when a user visits http://lucasmccoy.com they are actually seeing http://lucasmccoy.comlu.com/ through an HTML frame. The advantages of this are that the ad...

Copying cookies cross-domain, why is IE blocking cookies other browsers are sending with the SCRIPT tag

Trying to copy a cookie from second.com to first.com, with full control of both domains. Previously an iFrame was used, however this is not able to work across all browsers as it touched on 'third-party cookies' which are hard to implement and impossible in Safari and Chrome. The new approach uses a SCRIPT tag pointing to second.com an...

Extract external javascript query string/anchor value: file.js#foo=bar

http://mycloud.net/js/file.js#foo=bar I'm trying to load a cross domain javascript file, and want to pass a variable along on the query string. I have seen the above '#' method used, but am unsure of how to extract the 'foo' value from within the file.js. Any clues how to handle this without the aid of server side help? Thanks. ...