Android assigns a unique Linux UID to each installed app. What direct security benefit does this provide?
- A.The Linux kernel enforces file and process access controls based on UID, so apps cannot read each other's data directory without explicitly sharing via IPC
- B.It allows the app to access other apps' files for debugging
- C.It ensures each app is assigned a dedicated CPU core
- D.It prevents the app from communicating over the network
Why A is correct
Each app's data in /data/data/<package>/ is owned by its unique UID. Standard Linux DAC (Discretionary Access Control) prevents other UIDs from reading those files. Even on a non-rooted device, an arbitrary app cannot open another app's database because the kernel rejects the access at the file system level.
Know someone studying for Mobile Security Fundamentals? Send them this one.