Kodi Community Forum
Problem - Cannot Protect Add-ons! - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: Problem - Cannot Protect Add-ons! (/showthread.php?tid=315423)



Problem - Cannot Protect Add-ons! - cbarn - 2017-05-30

I'm running Kodi 17.3 (two instances on Raspberry Pi's, one instance in an Xubuntu VM for testing), and I've run into a problem on all 3 of them: I have a couple of program add-ons (Backup, Keymap Editor), and I'm not able to protect them from tampering by other users! I have the master lock set, and it's set to protect both the add-on manager and the programs & scripts windows - but a user can just browser from "Add-Ons" on the main menu, hit "Backup" and restore/backup the system, or hit "Keymap Editor" and start tampering with the key mappings. It seems to be partially working - it'll throw a pin prompt up if I try to get to the settings for Backup (but not Keymap), but a user could accidentally (or on purpose) get to harmful spots.

The only way I've been able to protect it so far is to completely remove add-ons from the main menu, but that's not an ideal solution as there may be other add-ons I'd like people to use.

Am I doing something wrong, or is this really not working right? Any suggestions would be most welcome!


RE: Problem - Cannot Protect Add-ons! - Wintermute0110 - 2017-05-31

Have you tried to use separate profiles for the different users? Each profile has its own settings, configuration and addons.


RE: Problem - Cannot Protect Add-ons! - cbarn - 2017-06-01

I hadn't tried different profiles, as my understanding was that each profile keeps its own copy of add-on settings (having unique keymaps wouldn't be ideal, and I need the backups to grab everything!) However, I didn't actually try it - I'll give it a test and report back if it works out OK. Thanks for the suggestion!


RE: Problem - Cannot Protect Add-ons! - cbarn - 2017-06-01

I tried an alternate profile, and it didn't work out properly ... I was able to hide the add-ons, but after switching back to Master, the Backup plug-in only appears to snag the current profile & database (and I wouldn't be running it under standard), and it appears (although I may have screwed up the test) that the Key Map plug-in also stores per-user.

Absent any other ideas, I think I'll just go with the one profile and hide the Add-Ons from the main menu, when I need to run/adjust one I'll unhide it via the settings, do my thing, and then hide it again.


RE: Problem - Cannot Protect Add-ons! - DarrenHill - 2017-06-01

Maybe come at it from the other way, and try a little user education (baseball bats optional) if securing thing down isn't practical?


RE: Problem - Cannot Protect Add-ons! - trogggy - 2017-06-01

Presumably you're using the default skin. You could switch to a skin that lets you set custom shortcuts, and just not have one pointing at program addons on the home screen. That would stop most accidental / casual messing.