[Addon] RuneUI Password

Raspberry Pi related support

[Addon] RuneUI Password

Postby rern » 06 Feb 2017, 15:44

[Addon] RuneUI Password
Tested on RPi3
for RuneAudio 0.3


View code - GitHub

- For RuneUI access restriction
- Password saved as Bcrypt hash, not plain text
- Password can be changed right on login screen
- Logout from settings menu
- Auto logout / session expired in 24 hours (change: $timeout in /srv/http/loginverify.php)
- Also restrict other MPD client (Need reboot after install otherwise bind_to_address "localhost" will still change back to "any" on reset)

Image
Default password: rune

Change password: click RuneAudio logo
Image

Logout: last item in settings menu

Install:
from Addons Menu
Last edited by rern on 27 Oct 2017, 03:01, edited 13 times in total.
rAudio @ https://github.com/rern/rAudio-1
Raspberry Pi 4B
Raspberry Pi 3B > SMSL M8 DAC
Raspberry Pi Zero W
User avatar
rern
 
Posts: 723
Joined: 14 Jul 2016, 08:15

Re: RuneUI Password

Postby hondagx35 » 06 Feb 2017, 17:37

Hi rem,

thank you for posting this, looks good.

Two things i recognized:
- "runelogo.svg" is not in your repo
- logout opens a new tab (firefox and chrome on windows), a page reload would be better.

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

Re: RuneUI Password

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

Hello,
i tried your modification and its working very good. As was mentioned before, the logo is missing, but when logging out i dont get a new tab, seems to behave like it should (latest firefox on mac) .
But people still can log in via mpd clients and it doesnt seem like a too useable idea to set a mpd password and your login-mod.
Any suggestions?
nihil.baxter
 
Posts: 5
Joined: 30 Jan 2017, 16:10

Re: RuneUI Password

Postby rern » 07 Feb 2017, 02:43

hondagx35 wrote:Two things i recognized:
- "runelogo.svg" is not in your repo
- logout opens a new tab (firefox and chrome on windows), a page reload would be better.

Hi Frank,

Thanks for always be the early adopter.
The two things were fixed.

nihil.baxter wrote:But people still can log in via mpd clients and it doesnt seem like a too useable idea to set a mpd password and your login-mod.

Hi nihil.baxter,

I'll look into it.
rAudio @ https://github.com/rern/rAudio-1
Raspberry Pi 4B
Raspberry Pi 3B > SMSL M8 DAC
Raspberry Pi Zero W
User avatar
rern
 
Posts: 723
Joined: 14 Jul 2016, 08:15

Re: RuneUI Password

Postby rern » 07 Feb 2017, 12:00

@nihil.baxter,

Now restrict other MPD client.
Try reinstall again.
rAudio @ https://github.com/rern/rAudio-1
Raspberry Pi 4B
Raspberry Pi 3B > SMSL M8 DAC
Raspberry Pi Zero W
User avatar
rern
 
Posts: 723
Joined: 14 Jul 2016, 08:15

Re: [Addon] RuneUI Password

Postby mlaky » 26 Mar 2019, 14:34

I have RuneAudio v0.4 and this plugin is not avaliable for installation.

Why? (What am I missing?)
mlaky
 
Posts: 9
Joined: 16 Mar 2019, 13:12

Re: [Addon] RuneUI Password

Postby rern » 27 Mar 2019, 08:26

Menu > Settings > Password protection
rAudio @ https://github.com/rern/rAudio-1
Raspberry Pi 4B
Raspberry Pi 3B > SMSL M8 DAC
Raspberry Pi Zero W
User avatar
rern
 
Posts: 723
Joined: 14 Jul 2016, 08:15

Re: [Addon] RuneUI Password

Postby mlaky » 27 Mar 2019, 10:21

rern wrote:Menu > Settings > Password protection

Unfortunately, I do not see such an option. :cry:
mlaky
 
Posts: 9
Joined: 16 Mar 2019, 13:12

Re: [Addon] RuneUI Password

Postby rern » 28 Mar 2019, 11:16

mlaky wrote:
rern wrote:Menu > Settings > Password protection

Unfortunately, I do not see such an option. :cry:

Menu > Settings > [Features management group] > Password protection
(under UPnP/DLNA, above Local browser)
No need for the addon - in case you tried to find it in Addons page.
rAudio @ https://github.com/rern/rAudio-1
Raspberry Pi 4B
Raspberry Pi 3B > SMSL M8 DAC
Raspberry Pi Zero W
User avatar
rern
 
Posts: 723
Joined: 14 Jul 2016, 08:15

Re: [Addon] RuneUI Password

Postby mlaky » 28 Mar 2019, 11:37

I don't have that option...

Rune Settings - Mozilla Firefox_201.png
Rune Settings - Mozilla Firefox_201.png (70.42 KiB) Viewed 2209 times
mlaky
 
Posts: 9
Joined: 16 Mar 2019, 13:12

support RuneAudio Donate with PayPal

Next

Return to Raspberry Pi

Who is online

Users browsing this forum: Google [Bot] and 7 guests