Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using a streaming distribution on CloudFront to serve media via RTMP.

Obviously I want to restrict the crossdomain.xml file but CloudFront is only serving it's default one.

The docs give instruction on how to overwrite their default -> I have a public, non-restricted crossdomain.xml in the root of my s3 bucket (the one with the media files), but it still serves out the default. What am I missing?

The default should not be served here:

share|improve this question

The Adobe Flash Media Server crossdomain.xml file specifies which domains can access media files in a particular domain. CloudFront supplies a default file that allows all domains to access the media files in your streaming distribution, and you cannot change this behavior. If you include a more restrictive crossdomain.xml file in your Amazon S3 bucket, CloudFront ignores it. So that means that you actually can not have your own crossdomain.xml file.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.