Insecure storage
The storage is the process that saves information into our device or computer. Android API basically offers five different types of storage:
SharedPreferences
The first and basic one is known as SharedPreferences
. This type of storage saves into XML files, in the private folder, the information we have saved as pairs of primitives associated with each value. In the following screenshot we can see all the files under the folder, shared_prefs
. Those files are SharedPreferences
files.
If we pull one of them from the device, we will be able to see the following content:
Each value inside the XML file has the following structure:
<string ...
Get Android High Performance Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.