Security
Access controls
- IP allow/deny lists:
ip_whitelist/ip_blacklist, they accept individual IPs or CIDR ranges. - Admin panel host restriction:
admin_hostnamerestricts the admin panel to a specific hostname (loopback is always allowed regardless). - Trusted
Hostheaders:trusted_hostscontrols whichHostheader values are accepted. - Legacy authentication:
legacy_authcontrols whether the older MD5-token/cleartext Subsonic authentication mode is accepted. Many clients still need it. API-key auth authentication works regardless of this setting.
Adaptive login rate-limiting
Two independent buckets slow down brute-force attempts:
- Per-pair of (IP, username):
rate_limit_max_failuresfailed attempts withinrate_limit_block_windowseconds blocks that specific (IP, username) pair. - Per-IP:
rate_limit_ip_max_failuresfailed attempts from an IP (using any username) withinrate_limit_ip_block_windowseconds blocks that IP. This catches attackers rotating usernames to dodge the per-user limit above.
Both buckets’s states are visible and can be cleared from the admin panel’s Security tab.
See the configuration reference for any of the settings mentioned here.