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

Is Flutter getstorage safe? #139

Open
volkanustekidag opened this issue Feb 13, 2024 · 2 comments
Open

Is Flutter getstorage safe? #139

volkanustekidag opened this issue Feb 13, 2024 · 2 comments

Comments

@volkanustekidag
Copy link

volkanustekidag commented Feb 13, 2024

Hello everyone, as far as I see, get storage uses file manager to store data. I store some sensitive data and no one should be able to access it. In this case, will it be safe for the get storage package to store files openly in this way?

WhatsApp Image 2024-02-12 at 13 43 02

@sed1ka
Copy link

sed1ka commented Feb 26, 2024

Absolutely no
To increase the security. there two option:

  1. If you want to achieve the fastest and best performance db then you can keep to use the Get Storage, but you still need flutter_secure_storage to store the private key that will be used to encrypt and decrypt data that you save on GetStorage. That means, you need more time to achieve this.
  2. If you only want to store the data safely and write/read time is not that important. just use flutter_secure_Storage directly.

@shen601020
Copy link

You can change the storage directory of the file,like this:
Future _getImplicitDir() async {
try {
///this code
return getApplicationSupportDirectory();
} catch (err) {
throw err;
}
}

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

3 participants