Page 1 of 1
Avoid settings change
Posted: Wed Jan 08, 2014 11:14 pm
by AlbEin
Hi,
I would like to avoid settings be changed by user who use my Transmission daemon with web interface or GUI.
For example, freeze upload speed limit and directory downloads parameters.
Is it possible ?
(sorry for my English)
Re: Avoid settings change
Posted: Fri Jan 10, 2014 4:22 pm
by blacke4dawn
Disabling the ability to change it while it's running, no.
Only thing I know of is to remove write permissions on setting.json, but it only helps in "resetting" settings between restarts.
Where that one is depends on what flavor (GTK, daemon, cli) and OS you use,
Here you can see the defaults, but most Linux distros change it for the daemon install.
Re: Avoid settings change
Posted: Sat Jan 11, 2014 9:21 am
by AlbEin
Hi,
Thank you for your answer.
I tried change permissions on settings.json but it doesn't have effect on running daemon.
The only thing I see is to rewrite a new web interface on my own server.
Re: Avoid settings change
Posted: Sat Jan 11, 2014 2:34 pm
by JJTagy
If you are strictly using the web interface, I would edit the web files to remove the settings button.
Re: Avoid settings change
Posted: Sun Jan 12, 2014 12:58 pm
by AlbEin
HI,
I thought about it but an advanced user could send RPC commands with his own javascripts to hack the settings !?
Re: Avoid settings change
Posted: Mon Jan 13, 2014 6:22 pm
by JJTagy
If you have subversive users with that skill level, then you will need to intervene at application level. Remove the functions from RPC.
Re: Avoid settings change
Posted: Tue Jan 14, 2014 9:06 pm
by blacke4dawn
After some thought the best I can up with is to set authentication on the RPC and then build a webinterface that uses another database/method for authenticating users of Transmission.
Re: Avoid settings change
Posted: Thu Jan 16, 2014 9:04 pm
by AlbEin
Hi,
@JJTagy : Nice idea but i'm not sure i am able to do it.
@ blacke4dawn : It's what i started to do
