Module 1 · Identity and Storage · Lesson 3 of 9

A private S3 bucket you can prove is private

Block Public Access, review bucket policies and encryption, and gather evidence beyond one failed request.

In this lesson · about 22 minutes

  • Enable and check S3 Block Public Access
  • Explain why encryption doesn't replace authorisation
  • Assess exposure from configuration plus tests

Public S3 buckets have leaked millions of records. S3's main safety net is Block Public Access: four settings that stop public ACLs and public bucket policies from taking effect. New buckets have it on by default; keep it on unless you have a documented reason not to.

What to review

  • Block Public Access at the bucket and account level.
  • Bucket policy: look for "Principal": "*" and broad actions.
  • Access points, which can carry their own policies.
  • Encryption setting (SSE-S3 by default; SSE-KMS if you need key-level control).
  • Versioning: if on, deleting an object leaves older versions. Plan cleanup for them too.

Encryption is not authorisation

Server-side encryption protects data on AWS's disks. If a policy lets everyone read an object, S3 decrypts it for them. Encryption doesn't turn a public object private. (With SSE-KMS, the reader also needs permission on the key, so check both the resource and the key policy.)

One failed request isn't an assessment

An anonymous request that fails is useful evidence, but it only covers that path. Combine it with the configuration review: settings, policy, access points, and account-level blocks.

Hands-on lab (simulated terminal)

Practice challenge 02: check the bucket

Simulated AWS CLI with your sandbox admin profile lab-admin (used here only for read-only configuration review).

Step 1 of 4. Type each command and press Enter. Nothing runs on your computer.

Practice challenge 02: check the bucket

1. Show the bucket's Block Public Access configuration.

learner@sandbox:~$

Check your understanding0 of 3 correct

Question 1

1.Does storage encryption make a publicly readable object private?

Question 2

2.Which is the strongest evidence a bucket isn't public?

Question 3

3.Versioning is on and you delete your dummy objects. What's left?

Quiz score: 0 of 3

Tip: answer every quiz question correctly first.

Noviq Academy is free and for learning. The AWS command line and console in this course are simulated with a made-up account and dummy data. If you practise in a real AWS account, use a dedicated sandbox, enable MFA and budget notifications, and delete everything when you finish: you are responsible for any charges. AWS and Amazon S3 are trademarks of Amazon.com, Inc.; this course is independent of AWS.