Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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: http://sixqlk56v2jbq.cloudfront.net/crossdomain.xml

share|improve this question

1 Answer 1

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

 
discard

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.