crossdomain.xml

Flex and crossdomain.xml

Hi I was wondering are there any security concerns with adding crossdomain.xml to the root of an application server? Can it be added to nay other parts of the server and are you aware of any work arounds that dont require the server to have this file in place? Thanks Damien ...

Can someone post a well formed crossdomain.xml sample?

I've been reading that Adobe has made crossdomain.xml stricter in flash 9-10 and I'm wondering of someone can paste me a copy of one that they know works. Having some trouble finding a recent sample on Adobe's site. ...

When it says put crossdomain.xml in the root where would that be on IIS?

Would it be wwwroot, C, the root virtual directory where the assets are hosted, or the same folder that the assets are in? Meaning if I have a virtual directory 'virdir' with a sub directory 'swf', which is really like C:\somedir\assets\swf\, where would the crossdomain.xml need to go so that my swf app on a different server can access ...

Do you need to put something in your code to access an asset allowed by crossdomain.xml?

Wondering if I need to do something in my swf to be able to access the assets on a different server, meaning more than just specify the url to the asset. Will flash handle the 'go get crossdomain.xml and authenticate everything' behind the scenes or do I need to include some special code beyond simply requesting the swf file? ...

How do you specify a custom location for crossdomain.xml in actionscript?

We are hosting the swf assets on a media hosting server and can't get a file to the root, anyone know what the code looks like to specify a custom location for crossdomain.xml? Sample code if you have it. ...

Security issues when using Amazon S3 file hosting for Flex modules/swfs

What kind of security issues am I going to run into when hosting a Flex site (with multiple modules) using Amazon S3's hosting? Can I even communicate between two different swfs if they're loaded from two different subdomains? (These will be modules) I dont yet know if i would host all modules on S3 or just some. For testing impact to ...

Does anyone know if the crossdomain policy file at salesforce.com has changed?

Suddenly my Flex Apps can no longer connect to salesforce.com via its API, I am getting a security sandbox violation. Login credentials are correct, I have tried them via a different means, and I have obfuscated them below. This was working fine earlier today and I have not been coding since then. Anyone else come across this or know ...

flex load policy file crossdomain.xml

Hi, I want to place my crossdomain.xml file in a different location than the root because it just creates to much dependency issues. How can i tell flex to look from my crossdomain.xml file somewhere other than the root?Do i add the loadPolicy code to the init method of my flex app? Does anyone have any good samples on this? ...

What is the sense of crossdomain.xml and clientaccesspolicy.xml when there is e.g. PHP/cURL?

So let's say I have a site and I do not have a crossdomain.xml or clientaccesspolicy.xml on it. This means that people cannot access my site via Silverlight or Flash applications. But they can use, say cURL in PHP (or the equivalent in other languages) to get the information from my site and provide it to their Silverlight and Flash ap...

SWF is not a loadable module

We are creating an app that uses modules which are dynamically loaded into the main swf. The problem we run into, is that we are unable to load the modules located on a test server when we are debugging the main app locally. The error we get is "SWF is not a loadable module". I looked this up and found out that we need a crossdomain fil...

Can I access crossdomain files outside the originally requested domain?

Flash Player 10 specifies: "Redirects to policy files outside the originally requested domain will continue to cause policy files to be ignored by Flash Player." Is there a way to access policy files outside the domain? ...

Flash Crossdomain.xml Problems

I'm trying to load Gravatars into Flash. Luckily, they provided a crossdomain.xml file at http://en.gravatar.com/avatar/crossdomain.xml My code: Security.loadPolicyFile("http://en.gravatar.com/avatar/crossdomain.xml"); var loader:Loader = new Loader(); loader.load(new URLRequest("http://en.gravatar.com/avatar/" + gravatar + "?s=35&d=i...

How do I specify a crossdomain policy file to allow Flash to grab a bitmap from an RTMP (Wowza) video stream?

I'm trying to get a bitmap/snapshot of a Wowza video stream playing on my client, like so: var bitmapData:BitmapData = new BitmapData(view.videoPlayerComponent.width, view.videoPlayerComponent.height); bitmapData.draw(view.videoPlayerComponent); When I do this, I get this error message: SecurityError: Error #2123: Security sandbox vi...

Flash Security Sandbox: crossDomain.xml not working

Hey guys, I have written a simple upload component in Flash, but I am now having issues in uploading due to a Security Sandbox error. I now know this is due to the fact I am uploading from one domain, to another, but 1, this used to work, 2, i have implemented a cross domain xml file by placing it in the root of the domain I'm serving f...

Setting Up Flex Project with Coldfusion

We recently built a new dev server for flex builder and installed coldfusion 8. We currently have everything working on our old server using coldfusion 7. We copied the services-config.xml and our project over to the new server. It compiled fine, I updated all references to the new server. When I try to run the flex application I receive...

Can I retrieve my Flex .swf and images from different Amazon S3 buckets?

I have a Flex 3 SWF in one Amazon S3 bucket, which dynamically loads images for buttons which are stored in another S3 bucket. I have set a completely open crossdomain.xml file in each bucket, but when I call the SWF from my web site, only a few button images load - and they're just the 'up' or 'normal' state button images (i.e. not 'do...

Same domain but security error

Hi community, I am hosting a java service and a flex application on the same server. The flex application accesses the java service. As the flex application loads I get a security error, how can this happen? I thought I do not need a crossdomain.xml when hosting on the same server. My flex app gets the data via a http service that send...

Flash / Flex crossdomain.xml help...

I am trying to figure out how to properly setup my crossdomain file. Here is what I have so far: <?xml version="1.0"?> <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"&gt; <cross-domain-policy> <site-control permitted-cross-domain-policies="all" /> <allow-access-from domain="cont...

Flash FlowPlayer crossdomain.xml error

Hi, I posted a problem I'm having with the FlowPlayer jQuery plugin at http://static.flowplayer.org/forum/1/29367, but I've had no response, so I thought I'd try the larger user base here... :) I am having a problem with crossdomain.xml and the audio plugin to play an mp3. The player loads ok but I get an error like this when I click ...

Flash crossdomain.xml in a non-root directory

I have a web service running in http://server/abc/service which is being accessed by Flash from a different domain. I deployed a cross domain policy file to http://server/abc/crossdomain.xml and made the Flash load it using: flash.system.Security.loadPolicyFile("http://server/abc/crossdomain.xml"); in the constructor of the main movi...