A scalable logistics app needs a cloud storage provider for app data backups that makes tenant isolation clear, not merely a storage API with strong documentation. I separate tenant identity, snapshot authorization, and object delivery into three layers. That adds coordination, but it prevents a signed download from becoming a cross-tenant data leak. For a one-person SaaS, this is the right revenue-per-hour trade: spend engineering time on the boundary that can destroy trust, and outsource object durability.

TL;DR: keep the bucket private, store tenant and snapshot metadata in the application database, authorize every restore against that metadata, and issue a short-lived object request only after the check passes. Use direct transfer for large payloads when delivery simplicity matters. Use a proxy when inspection or a single audit point matters more than throughput.

Choice Access control Delivery Fit
Private objects plus signed requests High after an application policy check High Normal backup and restore
Private objects through an application proxy Highest central visibility Medium Inspection or redaction
Public object paths Low and easy to misuse High at first Disposable data

My default is the first row. The application owns the decision; object storage owns bytes. Strong SDK documentation helps delivery, but it cannot decide which tenant may restore data. Keep the policy boring.

Which cloud storage provider fits a scalable logistics app backup?

A restore request is a permission decision disguised as a download. The provider is a delivery mechanism; the app remains the policy authority. The request may identify a tenant and snapshot, but those values are not proof of ownership. The service must derive the caller's allowed tenant set from its authenticated session, load the snapshot record, and compare its tenant ID with the requested tenant ID. Only then should it create a time-limited request for the private object.

The object key should come from trusted metadata. A path such as tenants/acme/snapshots/2026-10-30T12-00-00Z.ndjson is readable, but readability is not authorization. Do not accept an arbitrary key from the browser and treat it as a snapshot selector.

The database record needs tenant ID, snapshot ID, object key, creation time, size, checksum, and lifecycle state. A selected snapshot is an application object. The blob is only its payload. Retention is a product policy, not a storage default to inherit accidentally.

Is direct delivery worth the policy boundary?

Usually, yes. Large backup files do not need to pass through a small application server after authorization. A short-lived signed request lets the client transfer bytes directly while keeping the object private.

This is where delivery simplicity can fight access control. A proxy lets every byte cross code that can log, inspect, transform, or revoke the response. It is harder to operate at scale because application bandwidth, connection limits, and retry behavior become part of restore reliability. Direct delivery removes that bottleneck, but it makes the signed-request policy and browser behavior important.

For browser restore tools, configure CORS for exact origins and methods. MDN's CORS guidance explains that cross-origin access is governed by response headers and that a preflight can be required. CORS is not authorization. A permissive origin rule cannot grant access to a private object, and a restrictive rule cannot repair a server-side tenant check.

Record the authorization decision before issuing the signed request. Record snapshot ID, tenant ID, actor ID, request ID, and expiry. Do not log the signed URL itself. URLs can contain credentials in query parameters, and logs outlive the restore session.

A small TypeScript boundary

The important code is the order of operations, not a particular SDK. This narrow adapter keeps the tenant policy independent from the storage service.

type Snapshot = { id: string; tenantId: string; objectKey: string; state: 'ready' | 'deleting'; }; type Storage = { createReadRequest(input: { key: string; expiresInSeconds: number }): Promise<string>; }; async function createRestoreRequest( actorTenantIds: ReadonlySet<string>, tenantId: string, snapshotId: string, loadSnapshot: (id: string) => Promise<Snapshot | null>, storage: Storage, ): Promise<string> { if (!actorTenantIds.has(tenantId)) throw new Error('tenant access denied'); const snapshot = await loadSnapshot(snapshotId); if (!snapshot || snapshot.tenantId !== tenantId || snapshot.state !== 'ready') { throw new Error('snapshot unavailable'); } return storage.createReadRequest({ key: snapshot.objectKey, expiresInSeconds: 300 }); } 

Five minutes is a policy example, not a universal answer. Shorter expiry reduces replay time but makes a slow connection more likely to fail. Choose from file size, network conditions, and backup sensitivity. Protect signing credentials too. OWASP's Secrets Management Cheat Sheet recommends controlled access and rotation; putting a long-lived storage credential in browser code breaks that boundary.

A small team feels this boundary every week.

A backup feature is unfinished until restore is exercised. I would run four checks every week: create a fixture for two tenants, verify each tenant lists only its own snapshots, restore one selected snapshot, and attempt the same restore with the other tenant's identity. The negative case is the valuable one. A green upload test proves almost nothing about isolation.

Keep the fixture small: a manifest, a few records, a checksum, and one different tenant ID. Validate the restored checksum and record count, then inspect the audit event. This gives a one-person team a repeatable signal while it ships weekly.

Deployment deserves the same boundary. A process should receive storage credentials through the runtime secret mechanism, never a committed configuration file. A migration that changes snapshot states should be compatible with an in-flight restore. The limitation of a proxy is easy to miss during a small launch: the application becomes responsible for byte transfer, range requests, backpressure, retries, and audit coverage at the same time, so a convenient security boundary can become an operational bottleneck when snapshots grow. Watch authorization denials by tenant, signed-request failures, and restore completion time by object-size band.

When is the proxy the better choice?

The direct path is the default, not a rule. This approach is a poor fit for workloads that require mandatory inspection before any byte leaves the application. Choose a proxy when every restore must be scanned, transformed, redacted, or streamed into a system that cannot consume a signed object request. It also fits when the client must never receive a storage-origin URL. Then accept the cost: the application owns byte transfer, range requests, backpressure, and audit coverage.

Choose direct delivery when the snapshot is validated, the client can use the transfer protocol correctly, and the main service should spend its limited runtime on product work. The deciding question is not which provider has the nicest SDK. It is which layer is accountable for the irreversible mistake.

For a logistics SaaS, that mistake is restoring one carrier's data into another tenant or exposing a backup through an overbroad object rule. Keep authorization in code you own, keep objects private, and make delivery a replaceable adapter.

Sources