Allowing Cross-origin reads and writes on your S3 compatible buckets

Cross-origin resource sharing (CORS) defines a way for client web applications that are loaded in one domain to interact with resources in a different domain. Without enabling CORS, web browsers will not load resources from your custom domain if you provide a direct link to the resource even after enabling anonymous access and will report a 403 forbidden error. This error also applies to directly uploading files from the client.

To enable CORS from the NodeChef dashboard, log in to the NodeChef dashboard and click on Object Storage. Under the left hand side with the bucket listings, click on the name of the bucket. Click on options icon and select CORS policy. Select to enable reads and writes and then save your changes.

S3 Buckets - CORS Policy