### Protect App Settings

One way of protecting application settings, is by using the KeyValueStore class with Encryption.
Principle
A settings object (type ) is stored encrypted in the KeyValueStore (which is a SQLite database).
The object is read and used. Changes are stored back in the KeyValueStore by using the object.
See example project:
109. App Settings Protect using KeyValueStore Encryption (20160210)
Note
This requires the additional libraries to be defined in the project attributes
#Region Project Attributes
'SQLite driver required for the keyvaluestore
#AdditionalJar: sqlite-jdbc-3.7.2
'Download Jar: http://www.bouncycastle.org/download/bcprov-jdk15on-150.jar ; copy to additional libraries folder.
#AdditionalJar: bcprov-jdk15on-150
#End Region

Changed: 2018-06-07 09:08, Category: Application, File: T6C159M1179.htm, ID: 1179