Jake Petroules
Jake Petroules

Reputation: 24150

How can I set HTTP headers using Amazon S3 bucket policies?

So apparently Firefox won't load @font-face fonts from another domain unless those fonts are returned with a Access-Control-Allow-Origin "*" header.

How can I set this header on a key prefix using Amazon S3 bucket policies? Or will I have to manually add it to each object?

Upvotes: 4

Views: 11034

Answers (1)

Chris Cinelli
Chris Cinelli

Reputation: 4829

It is finally possible: http://docs.amazonwebservices.com/AmazonS3/latest/dev/cors.html

Upvotes: 6

Related Questions