Skip to content
AsterDriveDeveloper
Security update: Docker images from v0.4.0-rc.1 fix the high-severity FFmpeg MagicYUV decoder vulnerability (CVE-2026-8461). Upgrade instances using older images immediately.View CVE advisory
Security update: v0.4.0-beta.3 fixes a WebDAV request issue that can terminate the server process. Upgrade older instances promptly.View advisory

Storage Capability Matrix

BackendBrowser direct upload / downloadCapacity observationStorage-native processingCredentials at rest
localNot supported; AsterDrive reads/writes the local diskSupported (filesystem)Not supportedNo credentials
s3presigned upload + downloadNot supportedNot supportedPlaintext
azure_blobpresigned (SAS URL) upload + downloadNot supportedNot supportedPlaintext
tencent_cospresigned upload + downloadNot supportedCOS CI (per-policy switch)Plaintext
one_drivefrontend_direct upload, Graph direct downloadSupported (Graph quota)Not supportedAES-256-GCM encrypted
sftpNot supported; server-side streamingNot supportedNot supportedPlaintext
remotepresigned requires direct mode plus a browser-reachable follower base_urlFollows the remote storage targetNot supportedPlaintext

The encryption master key for OneDrive credentials is [auth].storage_credential_secret_key in config.toml; keep it safe across migrations and restores. See Login and Sessions.

This section is the single authoritative explanation of upload / download modes; each backend tutorial only covers its own enablement conditions and differences.

ModeData pathUpsideCost
relay_streamBrowser ↔ AsterDrive ↔ storage backendBrowser never touches the backend directly, no CORS pitfalls; works with intranet backends; easier to troubleshootTraffic flows through AsterDrive, consuming node bandwidth and connections
presigned / directBrowser ↔ storage backend (AsterDrive only signs URLs)Offloads AsterDrive bandwidth; steadier for large files and high concurrencyBrowser must reach the backend; requires CORS, HTTPS certificates, and exposed response headers

Suggested order: bring up any new backend with relay_stream first — uploads, downloads, previews, shares — and switch to presigned per the tutorial only after it proves stable.

Before switching to presigned, confirm:

  • Browsers can directly reach the object storage endpoint or the follower base_url (usually a real HTTPS hostname)
  • Backend CORS allows the AsterDrive site’s origin and exposes the response headers downloads and Range requests need
  • Public shares, image previews, and PDF / video Range requests were all re-validated under the new mode

OneDrive is the exception: cross-origin support for its frontend_direct upload is provided by Microsoft, so no extra CORS setup is needed on the AsterDrive or object-storage side.