[SailfishDevel] How to handle app settings?
Mikael Hermansson
mike at 7b4.se
Sun Dec 29 12:46:07 UTC 2013
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...
--
Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20131229/f10c10d8/attachment.html>
More information about the Devel
mailing list