The CORS rule BucketPilot adds to a bucket now allows only BucketPilot
Buckets created through BucketPilot used to get a CORS rule that allowed every website. It now allows only BucketPilot's own origin, and buckets that still carry the old rule are being switched over.
Uploads and downloads in the file browser go from your browser straight to your storage, so a bucket needs a CORS rule for BucketPilot to work. The rule BucketPilot wrote until now allowed every origin (*). It could not read your data without a signed link, but a signed link that leaked could be used from any website.
What changed
- •New buckets, on Amazon S3 and on BucketPilot Cloud, get a rule that allows only
https://bucketpilot.io. - •Existing buckets are checked in the background, a few at a time. A bucket whose rule is exactly the old default is switched to the new one. A rule you edited — another origin, different methods, a different cache time — is never touched, and a bucket with no rule stays without one.
- •A bucket whose key is not allowed to read or write CORS is tried again a week later; re-run your CloudFormation stack if it needs the permission.
- •The Security section in Analytics stops rating these buckets as High once they are switched.
What you need to do. Nothing, unless you call a bucket from your own website: add your origin to the rule in the bucket's Security tab and keep BucketPilot's. The CORS editor now warns you, before you save, when the rules on screen would not allow BucketPilot to upload — the save button turns into Save anyway — so removing BucketPilot's origin is never a surprise. See configure and test S3 CORS.