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

10,155

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

Share:
10,155
Jake Petroules
Author by

Jake Petroules

Software developer primarily self taught since age 12. Experience in design and development of computer programs, websites, and database systems, 3D graphics, UI design and usability, cross-platform development, and open source software. Co-founded a software company (Petroules Corporation) in college which developed data security software (Silverlock). Active developer in the Open Source Qt Project (qt.io) from late 2012 to early 2018. Key contributor to the Qbs (pronounced "Cubes") build system since its early history. Worked at The Qt Company from late 2015 to early 2018. Working at Apple in the Developer Tools team (Xcode, llbuild, etc.) since February 2018. Studied computer science at Keene State College and took courses at the Massachusetts Institute of Technology and online courses through Stanford University. Specialties: C, C++, Objective-C, Swift, macOS, iOS, Xcode, build automation, cross-platform, qbs, Qt, security & cryptography, UX and UI design

Updated on June 05, 2022

Comments

  • Jake Petroules
    Jake Petroules about 2 years

    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?