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)
Avoid settings change
-
- Posts: 552
- Joined: Sun Dec 13, 2009 10:44 pm
Re: Avoid settings change
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.
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
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.
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
If you are strictly using the web interface, I would edit the web files to remove the settings button.
Re: Avoid settings change
HI,
I thought about it but an advanced user could send RPC commands with his own javascripts to hack the settings !?
I thought about it but an advanced user could send RPC commands with his own javascripts to hack the settings !?
Re: Avoid settings change
If you have subversive users with that skill level, then you will need to intervene at application level. Remove the functions from RPC.
-
- Posts: 552
- Joined: Sun Dec 13, 2009 10:44 pm
Re: Avoid settings change
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
Hi,
@JJTagy : Nice idea but i'm not sure i am able to do it.
@ blacke4dawn : It's what i started to do
@JJTagy : Nice idea but i'm not sure i am able to do it.
@ blacke4dawn : It's what i started to do
