Trong React Native để lưu trữ dữ liệu nhạy cảm bạn sẽ xử lý như thế nào?
Trong React Native để lưu trữ dữ liệu nhạy cảm bạn sẽ xử lý như thế nào?
Không lưu dữ liệu nhạy cảm (token, mật khẩu, khoá) trong AsyncStorage hay code — AsyncStorage không mã hoá.
| Giải pháp | Cơ chế |
|---|---|
expo-secure-store |
iOS Keychain, Android Keystore (EncryptedSharedPreferences) |
react-native-keychain |
Keychain/ Keystore, hỗ trợ sinh trắc học |
MMKV có mã hoá (encryptionKey từ Keystore) |
Dữ liệu cục bộ nhanh + mã hoá |
SQLCipher (op-sqlite, WatermelonDB) |
DB mã hoá |
Đăng nhập để tham gia thảo luận cùng mọi người.
Chưa có bình luận nào
Hãy là người đầu tiên chia sẻ suy nghĩ của bạn.