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

Object storage

Object storage for static web assets: separate uploads from application servers

Published August 2026 · 8 min read

Static assets are a natural object-storage workload because each image, document or generated file can be addressed independently. Moving those objects away from a single application server can simplify scaling, but access control and delivery still need deliberate design.

Give assets stable object identifiers

Generate keys from application IDs, content hashes or controlled naming rules. Do not make the web application depend on an administrator’s manually-created folder structure.

Store user-facing filenames and content metadata separately when the original name is not a safe or unique storage identifier.

Keep upload credentials server-side

The browser should not receive a permanent S3 secret. Let the authenticated application upload on the user’s behalf or issue a short-lived presigned upload for one approved key.

Validate file size and content handling at the application layer even when the bytes travel directly to object storage.

Decide how public delivery works

For truly public assets, a CDN or narrowly scoped public-read delivery path can avoid making the entire bucket broadly writable or listable. Private downloads can use application authorization plus presigned URLs.

Storage policy and cache policy are different decisions. A CDN cache does not replace object access controls at the origin.

Handle replacement and cache invalidation

If an asset can change, content-hashed object names make caches easier to reason about because a new version gets a new URL. Reusing one key can leave old bytes in browsers or edge caches.

Define whether deletion should immediately remove an object or leave an older version for recovery.

Back up metadata as well as objects

An application database may map users or records to object keys. Copying the bucket without that mapping can leave a large collection of objects that the application cannot reconnect to records.

Recovery testing should restore both the object dataset and the application metadata that references it.

Next step

Use S3-compatible object storage for images, downloads and generated assets while keeping private uploads protected and delivery concerns separate from storage credentials.

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