Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Is the data stored encrypted? Is it easily accessible from the file system? #64

Open
Eyesonly88 opened this issue Jan 3, 2017 · 8 comments

Comments

@Eyesonly88
Copy link

Hey there,

Got another question regarding accessing the raw data that I'm storing using the library.
Can the data be accessed easily from the file system (Android/iOS)? Is it encrypted?

I'm wondering if I should store sensitive data (e.g. user purchases) using this library or not. Any recommendation?
Cheers.

@sunnylqm
Copy link
Owner

sunnylqm commented Jan 4, 2017

Any encryption for local data is unreliable. So never store password in any form of local data. But not worry too much, local data is safer than network request, cause the "hacker" must have the device in his hand to dig any local data (and of course keep the device safe is not your duty). Data other than password, such as privacy info, I think is OK (just my personal opinion).

@Eyesonly88
Copy link
Author

Thanks for the response @sunnylqm. I won't be storing password info so I think it should be fine like you said. However, I'm still wondering about this part of the question:

"Can the data be accessed easily from the file system (Android/iOS)?"

@sunnylqm
Copy link
Owner

sunnylqm commented Jan 6, 2017

I don't know. I never tried.

@Eyesonly88
Copy link
Author

Ok thanks. I'll see if I can figure it out and if I do, i'll post my result here. Cheers 👍

@Knight704
Copy link

Hello, if I'm correct this library is based on AsyncStorage, which itself based on SQLite on Android and simple dictionary on iOS. That's why I'm 99% sure that data is stored in private application storage which is not accessible by other apps by default

@dzpt
Copy link

dzpt commented Jul 10, 2017

@Knight704 basically, using unencrypted SQLite means we shouldn't store sensitive data here like user info, even id.
it can be use for impersonation hacking while using REST API

@anhhtz
Copy link

anhhtz commented Aug 25, 2018

AsyncStorage data can be access/read from device.Read here

On device (iPhone), I can backup all data into iTunes then use some tool to extract and read data in app, ex: Documents folder.

@vilmes21
Copy link

Any encryption for local data is unreliable. So never store password in any form of local data. But not worry too much, local data is safer than network request, cause the "hacker" must have the device in his hand to dig any local data (and of course keep the device safe is not your duty). Data other than password, such as privacy info, I think is OK (just my personal opinion).

I personally want a password-manager app storing passwords locally in local db. I insert only the encrypted strings. Good idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants