[SailfishDevel] How to handle app settings?
Andrey Kozhevnikov
coderusinbox at gmail.com
Sun Dec 29 12:50:34 UTC 2013
QSettings saved in ~/.config/organization/application.conf
for privacy you can make own SQL frontend with password-locked database.
On 29.12.2013 18:46, Mikael Hermansson wrote:
> On Sunday 29 December 2013 10.08.04 Franck Routier wrote:
>> LocalStorage:
>> (+) available in qml out of the box, more standard (HTML5 ??), more
>> powerful (sql)
>> (-) not directly human readable / editable, security concerns (all
>> tables available to all qml apps ??)
>>
> The localestorage file is saved per app in
> ~/.local/share/APPNAME/QML/OfflineStorage/Databases/UNIQUE_ID_OR_SIMILAR.
> db
>
> QSettings also stored ~/.local/share/appname/something...
>
> So both QSettings and LocaleStorage can be readable by other apps with some
> hacks. So non is better on security concern. Or wait maybe SQL is bit better because
> its not readable from text editor atleast ;)
>
> But I agree SQL is bit annoying to work with.
>
> Would be nice with higher levcel api for insert/delete/update...
>
>
>
>
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20131229/55752bdd/attachment.html>
More information about the Devel
mailing list