
Public vs private bucket comes down to who can read your files: a public bucket serves objects to anyone with the URL, while a private bucket answers only signed requests. Every new AIOZ Storage bucket starts private, the same default Amazon S3 uses.
TL;DR:
A bucket is the container that holds your objects, and its access setting decides whether a request has to prove who sent it. In a private bucket, every read carries a signature made with an access key and a secret key, and the server checks it before returning a single byte.
A public bucket skips that check for reads, so a browser, a curl command or a crawler can fetch an object with no keys at all. Supabase describes its public buckets the same way: anyone who has the asset URL can access the file.
| Private bucket | Public bucket | |
|---|---|---|
| Who can read | Holders of valid credentials or a presigned link | Anyone who knows the URL |
| How a read is authorised | A signature checked on every request | No check for reads |
| Typical content | Backups, user uploads, invoices, datasets | Website assets, product images, public downloads |
| Who pays for downloads | You | You, for every visitor |
The last row is easy to forget, since the provider bills every download from a public bucket to the bucket owner.
"Public" is not one standard setting across providers, so read your provider's definition before you flip it. In Supabase, a public bucket opens reads only, while uploads, deletes, moves and copies still pass through access control.
In Amazon S3, public access is whatever a bucket policy or ACL grants to anonymous users, which can include listing or, with a careless policy, even writes. AWS's security guidance says to keep a bucket non-public unless you explicitly need anyone on the internet to read or write to it.
Anonymous listing raises the risk further. With reads alone, a visitor needs the exact key of each file, but with listing open the same visitor can see every key in the bucket, including files you never linked. Our guide to bucket policies, IAM policies and ACLs shows how AWS separates those permissions.
Public reads also cost money, because every anonymous download is bandwidth on your bill. Our explainer on egress fees walks through how download charges add up.
Buckets start private because accidental public buckets keep leaking data. The UK's National Cyber Security Centre wrote that it seems every month brings news of a leak from an improperly secured S3 bucket. In each case, someone made the bucket public or opened it to any authenticated AWS user.
The NCSC also points out that S3 buckets can only be accessed by their owner by default. A leak therefore means someone changed that setting, which is why providers now add guardrails on top of the private default:
So treat Public as an exception you switch on for one bucket, and keep only content in it that you would happily post on a website.
Most sharing needs are smaller than "the whole bucket, forever", so pick the option that opens the least for the shortest time. The diagram compares the three ways to share files from an AIOZ Storage bucket, the sharing layer of object storage security.

get_object or put_object) and stops working when its expiry passes; on AWS, a link signed with IAM user keys lasts at most 7 days. Our presigned URL guide for AIOZ Storage covers both directions in Python.To serve a whole site rather than loose files, there is a fourth option, static website hosting, covered in the AIOZ section below.
.env files, database dumps, logs and old backups before anything goes public.We keep every bucket private by default, and the Manage Buckets tutorial documents a two-way switch. Open the Bucket page, open the action menu, choose Public, enter your passphrase and click Submit. The bucket then gives you two links, a bucket URL and a bucket path, and choosing Private and confirming closes it again.
The passphrase step exists because AIOZ never stores bucket passphrases, as our encryption explainer describes. The dashboard guide to renaming, moving and deleting files lists the other bucket actions in the same menu.
For a full website, static website hosting is a separate feature: you enable it per bucket, set index and error documents, and visitors reach https://<bucket>.sites.aiozstorage.app. Bucket names should not contain dots, because SSL certificates can't be issued for them, and our static website hosting setup guide covers the rest.
For private files, the docs' file manager tutorial generates presigned download URLs with boto3 and sets the expiry to 600 seconds. It warns that a link which lasts too long is no longer secure, and here is the same call as a standalone client:
import boto3
from botocore.config import Config
s3 = boto3.client(
"s3",
endpoint_url="https://s3.aiozstorage.network",
region_name="us-east-1",
aws_access_key_id="YOUR_ACCESS_KEY",
aws_secret_access_key="YOUR_SECRET_KEY",
config=Config(
request_checksum_calculation="when_required",
response_checksum_validation="when_required",
s3={"addressing_style": "path"},
),
)
url = s3.generate_presigned_url(
"get_object",
Params={"Bucket": "my-bucket", "Key": "reports/q3.pdf"},
ExpiresIn=600, # 10 minutes, the value in AIOZ's file manager tutorial
)
print(url)Keep both settings in the config, because bucket subdomains like my-bucket.s3.aiozstorage.network have no DNS record and only path-style links resolve. The checksum setting protects uploads from the same client, since the endpoint rejects the chunked uploads that current AWS SDKs send by default (checked Oct 19, 2026). We haven't run this snippet with real keys, because no credentials were available for this post.
What the docs don't cover yet:
Next step: follow the Manage Buckets tutorial in the AIOZ Storage docs to switch a bucket between Public and Private.
Is it safe to make an S3 bucket public?
It is safe only for files you would publish anyway, such as website assets, and only after you check the bucket for secrets and backups.
Can anyone upload files to a public bucket?
That depends on the provider: Supabase keeps uploads under access control, while an S3 bucket policy can grant anonymous writes if someone writes it that way.
How do I make an AIOZ Storage bucket private again?
Open the bucket's action menu, choose Private and confirm, as the Manage Buckets tutorial describes.
What is the difference between a public bucket and static website hosting on AIOZ Storage?
Public exposes the bucket's files through a bucket URL and path, while static website hosting serves them as a site with an index document and error pages.
Do downloads from a public bucket cost money on AIOZ Storage?
The billing docs charge 0.005 USD per GB downloaded and do not list any exemption for public traffic, so plan for it.

Full vs incremental vs differential backup: what each run copies, how restore chains work, storage and time trade-offs, synthetic fulls and RPO/RTO fit.

RAID vs erasure coding: RAID guards the disks of one array, while erasure coding spreads k data and m parity pieces over nodes. Compare overhead and rebuilds.

Reed-Solomon coding turns k data pieces into n, and any k of them rebuild the original. See the polynomial math, GF(2^8), a demo and how AIOZ Storage uses it.

RPO vs RTO: RPO caps how much data you can lose, RTO caps how long you can stay down. See how to calculate both, MTD, and the DR strategies that meet them.

AWS Signature Version 4 signs each S3 request with an HMAC key derived from your secret. See the four steps, a worked example and the errors that break it.

Encryption at rest vs in transit: at rest guards stored bytes from stolen disks, in transit guards requests on the network with TLS. See what each one misses.