Overview
SharedPreferences is Android's lightweight key-value storage mechanism, commonly used for settings, state, flags, and small pieces of application data.
Because SharedPreferences data lives on the device, it should not be treated as a protected storage location for long-term secrets or authorization decisions. A security review should consider what is stored locally, whether values are sensitive, and whether the backend trusts client-controlled state.
In this lab, you practice analyzing SharedPreferences usage in an Android app and understanding how local storage choices can create mobile security risk.

