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 Hacking Android now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.