Cloud security
Public cloud storage
Cloud object storage is private by default; a single `public` flag makes a bucket answer anyone, credentials or not.
Public cloud storage is a bucket that serves its files to anyone, with no credentials. Buckets are private by
default; one public setting makes the endpoint answer unsigned requests for every object. Test from outside with no
key: aws s3 ls --no-sign-request. The fix is to make the bucket private and turn on account-wide block public
access. Deleting the sensitive file is not a fix. See also [[cloud-least-privilege]].
Read next
- Least privilege (cloud IAM) A cloud access key should grant only the exact actions and resources its job needs; a wildcard grant hands over far more.
- Infrastructure-as-code security Cloud estates are built from declarative code; the misconfiguration ships from a line in that code, so the cheapest place to catch it is the review.
- Broken access control An access check that rests on something the client controls, so an attacker simply sets it and walks past.