mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-20 01:50:26 -05:00
[httpd] Implement "trusted_networks" option
Some clients aren't really capable of authenticating + some users probably don't want to enter a password for the web interface. This option allows clients on for instance the local network to connect without authentication.
This commit is contained in:
@@ -22,16 +22,18 @@ general {
|
||||
loglevel = log
|
||||
|
||||
# Admin password for the web interface
|
||||
# If not set (default), access to the web interface is only permitted
|
||||
# from localhost (except in promiscuous mode)
|
||||
# Note that access to the web interface from computers in
|
||||
# "trusted_network" (see below) does not require password
|
||||
# admin_password = ""
|
||||
|
||||
# Websocket port for the web interface.
|
||||
# websocket_port = 3688
|
||||
|
||||
# Let clients connect without checking their credentials. This applies
|
||||
# both to Remotes, DAAP clients and the web interface.
|
||||
# promiscuous_mode = no
|
||||
# Sets who is allowed to connect without authorisation. This applies to
|
||||
# client types like Remotes, DAAP clients (iTunes) and to the web
|
||||
# interface. Options are "any", "localhost" or the prefix to one or
|
||||
# more ipv4/6 networks. The default is { "localhost", "192.168", "fd" }
|
||||
# trusted_networks = { "localhost", "192.168", "fd" }
|
||||
|
||||
# Enable/disable IPv6
|
||||
ipv6 = yes
|
||||
|
||||
Reference in New Issue
Block a user