Private access, encryption and presigned URLs
Private by default
A shop stores invoices in S3. Customers should see only invoices they are authorized to receive. Keep Block Public Access enabled and use the default Bucket owner enforced ownership mode for new general purpose buckets, which disables ACLs. IAM and resource policies govern authorized requests. Blocking public access does not automatically grant private access or guarantee correct tenant isolation.
Permissions follow the operation
For the illustrative same-account application role, grant only the needed action and resource. s3:GetObject targets an object ARN; s3:ListBucket targets a bucket ARN, and can be restricted by a prefix condition. A bucket policy is attached to a bucket; identity policies are attached to identities. An access point provides a named endpoint with its own policy that works with the underlying bucket policy. Explicit denies and other applicable policy layers must still be considered.
Encryption and authorization solve different problems
HTTPS protects bytes during transport when TLS is correctly verified. New uploads receive server-side encryption by default with S3-managed keys (SSE-S3), unless another supported configuration applies. SSE-KMS uses AWS KMS keys and introduces key permissions and possible additional charges. Encryption at rest does not prevent an authorized reader from downloading plaintext. Changing default encryption is not a blanket rewrite of old objects.
Temporary access with a presigned URL
After checking a customer’s authorization, the application may generate a short-lived URL for one GET request target. Whoever obtains the URL can use it within its applicable validity and policy constraints, potentially multiple times; treat it as a secret. Its effective lifetime can end earlier than the requested expiration if the signing credentials expire or access is revoked. Do not log or publish real signed URLs. A presigned PUT authorizes uploading to its specified key, so choose the destination carefully.
Example: one invoice, not the whole bucket
The diagram below is a fictional authorization decision. A role needs GET access to invoices/demo-01.pdf, not permission to list or delete all invoices. The application must check the customer before signing, and the receiving customer must protect the URL. If a request returns AccessDenied, investigate action, ARN, explicit deny and KMS permission where relevant; do not make the bucket public.
authorized customer -> application check -> short-lived GET URLarn:aws:s3:::example-private-demo/invoices/demo-01.pdfPractice
A support employee needs to download one report for ten minutes. Explain why a public bucket is unnecessary, why encryption alone is insufficient and why a signed URL is not inherently single-use. Write a three-step authorization plan with no actual credential or URL.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Private access, encryption and presigned URLs — knowledge check
Apply S3 concepts to fictional offline scenarios.
A role must read a single invoice. What is the narrowest relevant permission?
A new private bucket returns AccessDenied. What should you do first?
What is true of a presigned GET URL?
What can shorten the effective validity of a signed URL?
Does server-side encryption prevent an authorized reader receiving plaintext?