password protection

Suggestions/requests/ideas for RuneAudio core features and functions

password protection

Postby nihil.baxter » 04 Feb 2017, 18:33

Hello everybody.

Been reading the forum for a while now, now i gotta ask a question.

I hope this is the right place for it. I looked around here and with google and to my surprise found nobody asked for it before.

I very much enjoy the runeaudio distribution on my rpi3 with my hifiberry dax+, pretty impressed about how easy it is to setup.
But what flaws it a bit for me is the lack of security options.
Why isn't it possible to password protect the remote connection? Everybody in the same network can access my runeaudio and mess around with it, which isn't practical at all in my setup and living situation. Did i miss something? Is there a possibility? The mpd has the feature afaik, but not runeaudio?
Another thing is the airplay function which i would like to use, but the problem here is the same as above, i dont want everybody in the house to be able to hitchike my audio by just turning into airplay.
So, if there are possibilities to do it, please, somebody let me know, otherwise this is a feature request :-)
nihil.baxter
 
Posts: 5
Joined: 30 Jan 2017, 16:10

Re: password protection

Postby hondagx35 » 05 Feb 2017, 01:23

User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: password protection

Postby nihil.baxter » 05 Feb 2017, 14:01

Ok, thanks alot for the quick and precise help.

I followed the instructions, seems to work somehow, but now i can't access the runeui at all.
There is no login window popping up, just the browser saying that it cannot connect to that specific ip.
I just saw that nginx brings up an error message "nginx: [emerg] unknown directive "auth_basic" in /etc/nginx/nginx.conf:43"
Any idea? I double checked the lines being written exactly as mentioned and being at the right position...

(I'd also like to set the password in mpd, is there a way tu put the needed line in /etc/mpd.conf so that it stays there?)
->It worked to just add the line, just hadn't thought about that runeui can't be used then anymore :-) and a bit sad that i cant use the mpd configuration part of runeui anymore.
But since i prefer those mpd clients, i'll do it that way.
Why isnt the mpd password function implemented in runeui? Seems like a nobrainer to me, since its seems like an easy thing to do.
Again, a feature request, so that the thread is still in the right subforum :-)

The question about the webserver not being reachable with the .htaccess active, is still of interest.
nihil.baxter
 
Posts: 5
Joined: 30 Jan 2017, 16:10

Re: password protection

Postby hondagx35 » 05 Feb 2017, 17:28

Attachments
password.jpg
password.jpg (38.19 KiB) Viewed 3188 times
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: password protection

Postby nihil.baxter » 05 Feb 2017, 19:41

nihil.baxter
 
Posts: 5
Joined: 30 Jan 2017, 16:10

Re: password protection

Postby hondagx35 » 05 Feb 2017, 23:18

Hi,

please try this file:
nginx.zip
(1.58 KiB) Downloaded 527 times


Frrank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: password protection

Postby nihil.baxter » 06 Feb 2017, 23:28

Hi,
thanks again for your efforts, but it still doesent work out, behaves the same way as before. Since i havent got the time right now (and honestly: nerves :-) i am useing that modification posted in the raspberry subforum as it just works right now. But since your suggestion seems like a nice and elegant way i still find it a bit sad that i couldnt make it out. Well at least i learned a very little bit about nginx webserver :-)
nihil.baxter
 
Posts: 5
Joined: 30 Jan 2017, 16:10

Re: password protection

Postby handicop » 24 Apr 2018, 06:05

handicop
 
Posts: 1
Joined: 24 Apr 2018, 06:00

support RuneAudio Donate with PayPal


Return to Feature request

Who is online

Users browsing this forum: No registered users and 8 guests