Let's say I have an application which has plugins, daemons, etc.
Now It has to save its settings and plugins settings as well as too. Most of all applications use users home folder for it but it is not secure. Something (a bad user, a hacker, a virus etc.) can delete those settings. Gsettings store them in binary database in user folder, KDE save them in INI format in users home folder but these options are not secure still because something can delete them easily.Or am I wrong? How else can I secure it?
Storing them as root or another user is not an option too as you know you have to grant permission for every little change you make which is very annoying.