Fill the Server: 80% off your first 4 monthly invoices, monthly billing. Ends Nov 30, 2026. 25 spots in this batch.FILL25
Fill the Server, annual: about 29.63% off your first annual invoice. Ends Nov 30, 2026.FILL25Y
Fill the Server, 2 year term: about 15.69% off your first biennial invoice. Ends Nov 30, 2026.FILL25B
Fill the Server, 3 year term: about 11.11% off your first triennial invoice. Ends Nov 30, 2026.FILL25T
80% off your first 3 months, monthly billing. Ends Dec 25, 2027.3MONTHS80
50% off your first annual Shared term. Ends Dec 31, 2027.50SHARED
Shared Starter, 3 year term: C$105.84 total.MOOSE294
20% off your first 3 monthly VPS invoices. Ends Dec 31, 2027.20VPS3
25% off your first annual base VPS term.25VPS

← All guides

Security

Public S3 buckets: why private-by-default is safer

Published August 2026 · 7 min read

A public bucket is easy to demonstrate and difficult to govern. Most application uploads, backups and internal artifacts should start private, with public delivery added only where the data is intentionally meant for anonymous access.

Public access changes the threat model

A private object requires an authenticated request or a deliberately signed temporary URL. A public object can be fetched by anyone who learns or guesses its address, including crawlers and automated scanners.

Object keys are identifiers, not passwords. Hiding sensitive data behind a complicated-looking key is not an access-control strategy.

Backups should not be public

Backup archives can contain databases, configuration files, customer data and credentials. They should be protected by scoped storage credentials and, where appropriate, additional client-side encryption.

A backup system that needs anonymous HTTP download is a design warning. Recovery staff can authenticate during a restore.

Use presigned URLs for temporary sharing

Presigned URLs grant a specific operation for a bounded period without disclosing the underlying S3 secret. They are useful for uploads, downloads and support workflows where the recipient should not receive permanent bucket credentials.

Choose expiry times based on the operation and remember that anyone who obtains the URL during its validity can normally use it. Treat the URL itself as temporary sensitive data.

Static public content deserves a delivery design

A website asset bucket may legitimately feed public images or downloads. Even then, consider a CDN, application gateway or narrowly scoped read policy so upload and administrative operations remain private.

Separate public content from private customer objects so access rules stay simple and auditable.

Test from an unauthenticated client

After configuration changes, request representative object URLs without credentials. Private objects should return an authorization failure and never return the object bytes.

Automate this negative check when possible. A policy review can miss an ACL or inherited setting that a real anonymous request exposes immediately.

Next step

Understand how accidental public object access happens, why shared public buckets are risky, and when presigned URLs or a deliberate delivery layer are better choices.

Explore DotMoose Object Storage

Keep reading

Related guides.

boto3 S3-compatible storage: custom endpoint, put_object and connection tests

Connect boto3 to S3-compatible storage with endpoint_url. Start with a read-only list, then optionally verify put_object with one isolated write/read/delete round trip.

Read the guide

S3 multipart upload explained: part size, retries, checksums and cleanup

Learn how S3 multipart upload works: numbered parts, AWS part-size limits, parallel retries, completion, checksums and cleanup of abandoned uploads.

Read the guide

S3 presigned URLs explained: temporary access without sharing keys

Learn how S3 presigned URLs authorize a specific operation for a limited time, where they help, what they expose and how to use them safely.

Read the guide

More object storage guides

We will handle the move. You check it first.

Your current site stays online until your new one is ready. You approve the copy first, and if anything is not right we switch you back right away. The price you pick is the price you renew at.

Start my free moveSee plans and prices
See pricesFree move