weed mini is a single-host sandbox whose other components already
listen on -ip.bind without authentication. Moving the unauthenticated
Admin UI and WebDAV to loopback broke setups that open them from
another machine on a private network. -admin.allowInsecureBind and
-webdav.allowInsecureBind now default to true; set them to false to
keep an unauthenticated Admin or WebDAV on loopback. The Admin worker
gRPC control plane still defaults to loopback.
Claude-Session: https://claude.ai/code/session_011UpvahFvcQGAmXWpPrXZY1
* webdav: optional HTTP Basic Auth from [webdav.basic_auth]
WebDAV reaches the filer over gRPC, so neither the filer JWT nor the
filer's Basic Auth covers it, and it had no authentication of its own.
With a password set in [webdav.basic_auth], every request needs it.
Without one, startup warns when the gateway listens beyond loopback.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* mini: bind WebDAV to loopback unless Basic Auth is set
weed mini starts WebDAV by default on -ip.bind, which is 0.0.0.0, so
anyone on the network could read, write and delete all bucket data even
with S3 IAM on. Without [webdav.basic_auth], bind it to 127.0.0.1, as is
done for the unauthenticated Admin UI. -webdav.allowInsecureBind keeps
the network bind.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* command: treat a bracketed IPv6 loopback as loopback
-ip.bind='[::1]' failed net.ParseIP, so mini moved an unauthenticated
WebDAV or Admin listener off it to 127.0.0.1.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* security.toml: note TLS for WebDAV Basic Auth
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>