Как защитить паролем веб-страницу портала Icecast2
У меня есть Raspberry Pi с подключенным микрофоном, который передает потоковое аудио. У меня на маршрутизаторе настроены DDNS и переадресация портов, поэтому я могу слушать звук через Интернет.
Проблема в том, что веб-страница Icecast2 не защищена паролем, а это означает, что любой может прослушивать звук, если знает IP/имя хоста и порт. Когда я устанавливал эту настройку Icecast & Darkice (ссылка на руководство, которое я использовал ), Icecast запросил 3 пароля. Но ни один из них не запрашивается, когда я открываю веб-страницу портала.
Есть ли способ защитить паролем страницу портала, показанную ниже?
Это конфигурация darkice, которую я использую:
[general]
duration = 0 # duration of encoding, in seconds. 0 means forever
bufferSecs = 5 # size of internal slip buffer, in seconds
reconnect = yes # reconnect to the server(s) if disconnected
[input]
device = plughw:CARD=OSM09,DEV=0 # Soundcard device for the audio input
sampleRate = 11025 # sample rate in Hz. try 11025, 22050 or 44100
bitsPerSample = 16 # bits per sample. try 16
channel = 1 # channels. 1 = mono, 2 = stereo
[icecast2-0]
bitrateMode = cbr # average bit rate
format = mp3 # format of the stream: ogg vorbis
bitrate = 320 # bitrate of the stream sent to the server
server = localhost # host name of the server
port = 8000 # port of the IceCast2 server, usually 8000
password = --------- # source password to the IceCast2 server
mountPoint = Stream.mp3 # mount point of this stream on the IceCast2 server
name = Raspberry Pi Stream # name of the stream
description = Broadcast from Raspberry Pi # description of the stream
public = no advertise this stream?