Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Highlighted
Developer
Posts: 116
Registered: ‎03-15-2011
My Device: Blackberry 9800
My Carrier: developer
Accepted Solution

How secure persistence storage of BB10

Hi,

 

I need to store some sensitive data into persistence storage using QSettings API. Please let me know how secure it is.

 

Can anybody trap this stored data from persistence by any way. Like: Reverse engineering etc.

 

Any link regarding this would be highly appreciated.

 

 

Thanks in advance.

 

 

Developer
Posts: 16,992
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: How secure persistence storage of BB10

no. all settings are in an (encrypted) sandbox.
only if the app stores data in the shared directory can other apps access it.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Developer
Posts: 116
Registered: ‎03-15-2011
My Device: Blackberry 9800
My Carrier: developer

Re: How secure persistence storage of BB10

Thanks Simon for your prompt reply.

 

I am using only below code to store data.

 

QSettings settings;
settings.setValue("Password", "BB10_ABC");

 

Should I use need to define format or scope in QSettings?

 

like: setDefaultFormat(Format format) or QSettings::scope

 

Developer
Posts: 116
Registered: ‎03-15-2011
My Device: Blackberry 9800
My Carrier: developer

Re: How secure persistence storage of BB10

[ Edited ]

Also, as per below link persistent information is often stored in the system registry on Windows.

http://developer.blackberry.com/native/reference/cascades/qsettings.html#details

But not finding information for BB10.
Please let me know where these persistent data is stored in BB10.

Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: How secure persistence storage of BB10

Unless you specify a different location it will be under the data folder in Settings.


If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.
Developer
Posts: 116
Registered: ‎03-15-2011
My Device: Blackberry 9800
My Carrier: developer

Re: How secure persistence storage of BB10

Thanks.

So do I need to define format or scope in QSettings?
like: setDefaultFormat(Format format) or QSettings::scope
Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: How secure persistence storage of BB10

No you shouldn't need to.

If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.
Developer
Posts: 16,992
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: How secure persistence storage of BB10

the data folder (default) is part of the sandbox. only your application (with its digital signing) can access it.
in development mode you can access the data folder if you have the debug token (signing key) for the app, otherwise not.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Developer
Posts: 116
Registered: ‎03-15-2011
My Device: Blackberry 9800
My Carrier: developer

Re: How secure persistence storage of BB10

Thanks Everyone. It helped a lot.Smiley Happy