WebDAV vs S3 vs a browser UI: choosing how to access self-hosted files

On this page
WebDAV vs S3 is a choice between a network drive and an object-storage API for your self-hosted files. This guide is for homelab owners and small teams who run their own storage, or who are leaving Google Drive. Use WebDAV (usually Nextcloud, a self-hosted file server) for mapped drives, the S3 API for backups and apps, and a browser UI on S3 for browsing, previews and expiring share links.
Key takeaways
- Pick WebDAV only if people need a mounted drive, and check that the server supports locking, which macOS Finder needs before it lets you edit.
- Point backups at the S3 API, where multipart uploads run in parallel, and add a lifecycle rule that aborts unfinished uploads.
- Treat every S3 share link as a password until it expires: revoking one early means revoking the key that signed it.
- For user accounts, per-user permissions or shared editing, plan for a server such as Nextcloud; a browser UI on S3 provides none of them.
In this guide
- How they differ
- Six daily jobs compared
- Mounting a drive
- Backups and sync
- Share links
- Editing and locks
- Costs
- A browser UI on S3
- When a browser UI doesn’t fit
- Which one to choose
- How to test
How WebDAV, S3 and a browser UI differ
WebDAV adds file-system operations to HTTP, so a WebDAV server keeps a real folder tree that clients can list, copy, move and, where supported, lock. S3 is an object API: a bucket holds objects under flat keys, and “folders” are only shared name prefixes. A browser UI on S3 is a web app that calls that same API from your browser, with no file server in between.
In S3 terms, a bucket is the top-level container for files and an object is one stored file. An object’s key is its full name, such as photos/2026/beach.jpg (an example value), and tools show the prefix photos/2026/ as a folder. To mount storage is to make it appear as a drive letter or a Finder volume.

Only the WebDAV path sends every file through a server you run; the web app host only serves the page. Nextcloud with object-store primary storage needs a bucket to itself, so it cannot share one with direct tools.
WebDAV vs S3 across six daily jobs
| Job | WebDAV (for example Nextcloud) | S3 API (rclone, restic, SDKs) | Browser UI on S3 |
|---|---|---|---|
| Mount as a drive | Built-in Windows and macOS clients, with limits | Extra software such as rclone mount | No |
| Large backups | Whole-file PUT; chunking only where the server adds it (Nextcloud) | Parallel multipart uploads | Uploads in parts, but not a backup tool |
| Desktop and phone sync | Nextcloud’s own clients | No built-in sync | No sync |
| Share a link | Nextcloud feature: password, expiry, upload-only folders | Presigned URL, up to 7 days on AWS and R2 | The same presigned links, made in the UI |
| Two people editing | Whole-file PUT; locking optional | Whole-object writes, no locks | No editing |
| User accounts and permissions | Server feature (Nextcloud) | Only what each key’s policy allows | None; the key decides |
Mounting a drive: WebDAV’s strongest case, with caveats
WebDAV is the only option here with built-in Explorer and Finder clients, but those clients have limits worth testing. S3 needs extra software to mount; a browser UI does not mount at all.
Nextcloud documents mapping its WebDAV share to a drive letter in Windows Explorer. But Microsoft lists the WebClient (WebDAV) service as deprecated, and it “isn’t started by default”. Windows also caps WebDAV transfers through the FileSizeLimitInBytes registry value, and the registry can raise it to 4 GB at most.
On macOS, the sabre/dav project documents that Finder works read-only when the server lacks locking. Put any WebDAV endpoint behind TLS: RFC 4918 forbids Basic authentication “unless the connection is secure”, and Windows requires HTTPS for it.
To mount a bucket, rclone mount uses FUSE, a driver that lets a program act as a file system: WinFsp on Windows, or macFUSE or FUSE-T on macOS. Without --vfs-cache-mode writes or full, it writes only sequentially, and “many applications won’t work”. rclone also offers a separate rclone nfsmount command using macOS’s built-in NFS support.
Backups, large uploads and sync: where S3 is stronger
For backup tools and big files, the S3 API is the better target: it uploads one file as parallel parts and keeps what sync tools compare.
A multipart upload sends one file as separate parts and joins them at the end. On Amazon S3 that means up to 10,000 parts of 5 MiB to 5 GiB each, and AWS suggests multipart from about 100 MB. rclone uploads several parts of a file at once and keeps modification times as object metadata, and restic backs up to S3 natively.
Interrupted backups leave a bill. Unfinished multipart uploads keep their parts, and AWS says “You are billed for all storage associated with uploaded parts.” It recommends a lifecycle rule (an automatic bucket rule) with the AbortIncompleteMultipartUpload action. That action stops uploads left unfinished for a set number of days.
rclone’s docs say plain WebDAV supports neither modification times nor hashes, so sync tools have little to compare; Nextcloud, ownCloud and Fastmail Files add both. In rclone, chunked upload is a Nextcloud-specific option (--webdav-nextcloud-chunk-size), while a plain WebDAV PUT replaces the whole file.
For desktop and phone sync, Nextcloud recommends its official desktop and mobile clients. S3 has no built-in sync: rclone’s two-way bisync is “an advanced command, so use with care”.
Sharing a file with a link
On a WebDAV setup, share links come from the server software; on S3, a share link is a presigned URL that anyone holding it can use until it expires. Nextcloud offers public links with a password and an expiry date, plus “File drop” upload-only folders.
A presigned URL is a link that carries its own time-limited signature, made with your access key. AWS calls these links “bearer tokens that grant access to those who possess them”. You can reuse one until it expires: up to 7 days with the AWS CLI or SDKs, or 1 minute to 12 hours from the S3 console. Cloudflare R2 allows 1 second to 7 days. A link stops early only when its signing credential is revoked, deleted or deactivated; AWS describes no single-link revoke.
So use short expiries for sensitive files. For the steps, see our guide to sharing a file from S3 with a link that expires.
Editing in place, locks and renames
Neither option lets two people safely edit parts of one file: both replace whole files, WebDAV locks are optional, and S3 has no locks.
Neither protocol has a standard partial write
A common claim is that WebDAV edits files in place while S3 forces a full re-upload. The standards do not back the first half. RFC 4918 says a PUT on an existing resource “replaces the GET response entity”. RFC 9110 calls partial PUT with Content-Range “inconsistent and depends on private agreements”. WebDAV has no standard partial write, though a given server may add one.
Amazon S3 “never adds partial objects” through PutObject. Nextcloud’s manual even lists Microsoft Office access over WebDAV failing as a known problem.
Locks on WebDAV, last writer wins on S3
RFC 4918 says a compliant WebDAV server “is not required to support locking in any form”; only class 2 servers support LOCK. A change to a locked file without the lock token must fail. A client can lose a lock that times out “in the middle of a long upload”. Nextcloud’s own transactional file locking uses its database by default, and Nextcloud recommends a Valkey or Redis memcache for busy servers. Its docs do not tie it to the RFC’s LOCK method.
Amazon S3 “does not support object locking for concurrent writers”: “the request with the latest timestamp wins”. On AWS, conditional writes help. If-Match with the object’s ETag (a fingerprint of its version) fails a write if the object changed. If-None-Match fails it if the key already exists.
Renaming a folder: one request versus one copy per object
A WebDAV MOVE renames a folder in one request. On S3 general purpose buckets a rename is a copy then a delete, repeated for every object under the prefix.
What each option costs to run
All three can sit on the same storage, so costs differ in the server you run and who pays egress, the provider’s fee for data leaving its network.
| Cost item | WebDAV through Nextcloud | S3 API tools | Browser UI on S3 |
|---|---|---|---|
| Server you run | Nextcloud and its database; Valkey or Redis recommended for locking on busy servers | None; tools run on your machines | A stateless web app, for example one container |
| Download path | Through your Nextcloud server | Provider to the tool | Provider straight to the browser |
| Provider | Egress terms (read 2026-11-30) | Source |
|---|---|---|
| Cloudflare R2 | “No charges for egress bandwidth for any storage class” | R2 pricing |
| Backblaze B2 | Free up to 3x your average monthly storage, then $0.01/GB | B2 pricing |
This guide gives no monthly totals because it did not compare storage prices or request fees. The cost not on any bill is time: a self-hosted WebDAV server needs patching and upgrades.
What a browser UI on S3 adds, and what it needs
A browser UI on S3 gives Drive-like browsing, previews, uploads and share links on a bucket without a WebDAV server. It needs a CORS rule and a tightly scoped key.
CORS and the key: how it works
The app loads from one origin (scheme, host and port, such as https://files.example.com, an example value) and calls the bucket’s endpoint, a different origin. For many such requests the browser first sends a preflight, an OPTIONS request asking whether that origin may call. The bucket answers from its CORS rule. CORS limits which websites’ scripts may call the bucket; it is not a login. To write the rule, use our CORS guide for S3, R2, MinIO, B2 and Wasabi.
The trade-off is where the key lives: in a direct browser-to-S3 UI it sits in the browser, so a leak exposes whatever that key can do. Give the UI a key limited to one bucket, as in the minimum IAM policy for an S3 web client.
One example and its limits
One example is Opndrive, an open-source, self-hosted web UI for S3-compatible storage (introduction), which:
- keeps your keys in the browser’s localStorage and sends requests straight to the provider;
- previews images, PDFs, video, audio, text, code and spreadsheets, and uploads files and folders;
- makes share links that expire after a time you pick, from a preset list (15 minutes to 1 week) or a custom duration of 1 minute to 7 days;
- does not mount a drive, edit files, manage users or permissions, or download folders, and adds no password or early revoke to links.

A browser UI lists prefixes as folders you open in the page. Nothing is mounted as a drive.
When a browser-to-S3 UI doesn’t fit
Route traffic through something else when you need controls a bucket cannot enforce alone.
- A backend API or file server (Nextcloud is one) fits when you need user accounts, per-user permissions, quotas, revocable links or virus scanning. Keys stay on the server, but every byte passes through it, adding load and maintenance.
- A CDN (a content delivery network, such as CloudFront or Cloudflare) fits for wide publishing, custom domains and caching. R2 presigned URLs do not work on custom domains, so plan how links and the CDN fit. It is one more layer to configure.
A reverse proxy (Nginx, Caddy or Traefik) in front of a self-hosted S3 server handles TLS, upload size limits and timeouts. It must pass the incoming Host header unchanged, because the Signature Version 4 signature covers it. Nginx sends $proxy_host by default; Caddy and Traefik pass Host through. If uploads fail, see fixing SignatureDoesNotMatch on browser uploads.
Which one to choose
Pick by who, or what, uses the files every day:
- Choose WebDAV through Nextcloud when a small team needs mapped drives, desktop and phone sync, per-user permissions and password-protected links. Accept a server to patch, its database (plus Valkey or Redis on busy servers), and the Windows and Finder limits.
- Choose the raw S3 API when the user is software: backups with restic or rclone, apps or media archives. Add the lifecycle rule.
- Choose a browser UI on S3 when files already live in a bucket and a few people need to browse, preview, upload and send expiring links without a file server.
- Choose a combination when you want all of it: S3 for storage and backups, a browser UI for everyday access, and WebDAV only if someone truly needs a drive letter.
Combining S3 with a WebDAV door without lock-in
Nextcloud with S3 as primary storage keeps “all metadata (filenames, directory structures, etc)” in its database and needs exclusive use of the bucket. Backup tools and browser UIs then no longer see your folders there. To keep one store with two doors, SeaweedFS (Apache-2.0) exposes the same data over S3 and WebDAV. rclone serve webdav can serve a bucket over WebDAV. Its docs say “by default this will serve files without needing a login”, so add authentication and TLS.
How to test the path you pick
Before you commit, run five checks with real files:
- Copy a file over 5 GB through your path: that is past the Windows WebDAV cap and the 5 GB single-PUT limit on Amazon S3.
- Open and save an office document on the mounted drive from two machines.
- Make a share link with a 15-minute expiry, then confirm it stops working.
- Interrupt a large upload, then check for leftover parts and the lifecycle rule.
- Connect a browser UI with the one-bucket key, then confirm CORS refuses another origin.
Try Opndrive
Opndrive gives any S3-compatible bucket a Drive-like web interface you host yourself.
See it on GitHub or read the docs.



