MobDojoStart learning free

Android App Security · Course 4

Storing Data Safely

Where apps keep files, keys and secrets, and how data leaks out.

5 lessons64 min totalBadge: Vault Keeper

About this course

Where an app saves a file decides who else can read it and whether it survives an uninstall. Private app storage is sealed off from other apps, while shared folders like Download can be reached through the system and outlive the app. Secrets need even more care: keys belong in the Android Keystore, master secrets belong on the developer's server, and anything shipped inside an APK should be treated as public.

In the lab you'll save a file to private and shared storage and see what another app can reach, with and without All files access. You'll learn how the Keystore stops keys from being copied even if an app is taken over, how keys can require your fingerprint or PIN, and how backups, phone-to-phone transfers and system logs can carry data out of the sandbox. The final challenge has you review a relative's budgeting app and find every place its secrets could leak.

Lessons

Hands-on

Do it on the simulated phone

Lessons have labs you can try in your browser, plus questions that earn points toward the Vault Keeper badge.

Start lesson 1