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?
It should not be serving the default here: http://sixqlk56v2jbq.cloudfront.net/crossdomain.xml
I’m not aware of this currently, to the contrary, see Restricting Access Using Crossdomain.xml:
So while an annoying limitation indeed, I’m afraid you are out of luck currently, except if this turns out to be a documentation bug; you might want to file a respective support and/or feature request in the Amazon CloudFront Forum accordingly.