Chapter 5. Data Storage and Its Security

This chapter gives an introduction to the techniques typically used to assess data storage security of Android applications. We will begin with the different techniques used by developers to store the data locally and how they can affect the security. Then, we shall look into security implications of the data storage choices made by developers.

These are some of the major topics that we will discuss in this chapter:

  • What is data storage?
  • Shared preferences
  • SQLite databases
  • Internal storage
  • External storage
  • Data storage with CouchDB
  • Backup based techniques
  • Examining Android apps on non rooted devices

What is data storage?

Android uses Unix like file systems to store the data locally, there are a dozen or so file systems ...

Get Penetration Testing: A Survival Guide 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.