1

I'm creating a native application , where I used to save some values in my shared Preferences. But saving values to shared preferences seems to be insecure of security reasons. How can we provide security to values stored in shared Preferences? The penetration testing team can easily access the values stored in the shared preferences. How can we restrain them from accessing the shared preferences?

I'm Coder
  • 125
  • 2
  • 13

1 Answers1

1

they used rooted device to access the shared preferences

There is no form of storage that is safe against somebody who roots the device. If you have data that rooted device owners cannot have access to, do not have that data on the device — keep it on your server.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491