PhotoDock

Remote iPhone Photo Backup Over WebDAV: HTTPS, Reverse Proxy & Security Best Practices

Remote Access · WebDAV 5 min read Updated 2026-12-01 Markdown (.md)
TL;DR

Never expose SMB port 445 directly to the public internet. For backing up iPhone originals while traveling, either tunnel SMB over WireGuard/Tailscale or connect PhotoDock to an HTTPS-encrypted WebDAV endpoint behind a reverse proxy—making sure to raise upload size limits (e.g., Nginx `client_max_body_size 0`) for 4K videos and use a scoped account.

1. SMB vs. WebDAV for Remote Backups

Scenario Best Protocol Why
Home LAN Wi-Fi SMB 2/3 Fastest local throughput, zero reverse-proxy setup required.
Remote with WireGuard / Tailscale SMB 2/3 or WebDAV End-to-end encrypted tunnel with zero public ports exposed.
Remote via Domain + Reverse Proxy (No VPN) HTTPS WebDAV Works over standard HTTPS port 443 from hotel Wi-Fi or cellular networks.

2. Five Must-Do Rules for Reliable & Safe HTTPS WebDAV

  1. Always enforce HTTPS (TLS): Never send WebDAV credentials over plaintext HTTP across public networks. Use a valid TLS certificate (e.g., Let's Encrypt).
  2. Remove small upload body caps for 4K video: A few minutes of 4K 60fps iPhone video easily exceeds Nginx's default 1MB limit. Set client_max_body_size 0; and proxy_request_buffering off; on your WebDAV reverse proxy to prevent 413 Payload Too Large errors.
  3. Scope the WebDAV account to one directory: Never use your NAS admin login. Lock the WebDAV user to a dedicated backup folder with a strong random password.
  4. Allow WebDAV HTTP methods through proxies/WAFs: Ensure PROPFIND, MKCOL, PUT, GET, and HEAD are permitted (some strict CDN proxies block WebDAV verbs by default).
  5. Enter the full HTTPS URL in PhotoDock: Go to Settings → Add Storage Location → WebDAV, enter your full endpoint (e.g., https://dav.example.com/photos), and run Test Connection. Credentials remain strictly inside your iPhone's local Keychain.

Frequently Asked Questions

Why do large 4K videos fail when proxied through free CDN tiers?

Free CDN proxies often enforce a ~100MB single-upload cap and may block WebDAV methods. Use DNS-only mode pointing to your own TLS reverse proxy, or tunnel over WireGuard/Tailscale.

Does PhotoDock sync my WebDAV credentials to any developer server?

Never. PhotoDock requires no cloud account, includes zero tracking SDKs, and stores credentials strictly in your device's Apple Keychain.