.htaccess
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
htpasswd -c /home/username/example.com/.htpasswd user1
chmod 644 .htpasswd
nano .htaccess
--------------------------------------------------
#Protect Directory
AuthName "Dialog prompt"
AuthType Basic
AuthUserFile /home/username/example.com/.htpasswd
Require valid-user
--------------------------------------------------
Streaming
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<audio controls>
<source src="./001.mp3" type="audio/mpeg">
</audio>
<p>
<audio controls>
<source src="./quran.m3u" type="audio/mpegurl"> # Works just in Mobil-Version
</audio>
</body>
</html>