Android READ_EXTERNAL_STORAGE & WRITE_EXTERNAL_STORAGE Explained: Legacy Shared Storage Dangers

Cybersecurity shield blocking red legacy shared storage beams, covert ID cookies, and external folder snooping while allowing isolated Scoped Storage app sandboxes

LEGACY STORAGE WARNING — CATEGORY D (STORAGE, MEDIA & SHARED FILES) • XPAND PRIVACY JOURNAL: For over a decade, READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE gave apps a skeleton key to Android’s shared storage—letting ad SDKs plant hidden “SD card tracking cookies” across unrelated apps and read other apps’ shared folders. Although modern Android replaced both permissions with Scoped Storage, unmaintained APKs and older Android builds still keep those doors wide open.

Before Android 10, allowing one app to view a downloaded photo also handed it broad read or write privileges across shared folders on /sdcard. Even after users cleared app data or reset their Google Advertising ID, third-party trackers abused shared storage writes to re-identify devices silently.

Starting in Android 11 and finishing in Android 13, Google made WRITE_EXTERNAL_STORAGE obsolete and deprecated READ_EXTERNAL_STORAGE altogether. Here is how both permissions worked, why they proved dangerous, and how to make sure no outdated app still abuses legacy storage on your phone.

Protection Level
Dangerous (Legacy)

Severity Rating
High — Cross-App Shared Storage

Modern Replacement
Scoped Storage + Granular Media

1. What Are READ_EXTERNAL_STORAGE & WRITE_EXTERNAL_STORAGE?

In simple English, READ_EXTERNAL_STORAGE let an app read shared media and common storage folders outside its own private directory, while WRITE_EXTERNAL_STORAGE let it save, modify, or overwrite files inside shared directories on older Android builds.

How Scoped Storage Replaced Them Step by Step: Android 10 (API 29) introduced Scoped Storage—keeping each app inside its own sandbox folder (getExternalFilesDir()) without any storage permission—though apps could temporarily opt out via requestLegacyExternalStorage="true". Android 11 (API 30) blocked that opt-out and stripped extra rights from WRITE_EXTERNAL_STORAGE. Finally, Android 13 (API 33) replaced READ_EXTERNAL_STORAGE with granular visual/audio media permissions.

Comparison between legacy READ_EXTERNAL_STORAGE / WRITE_EXTERNAL_STORAGE prompt and modern Android app-private Scoped Storage sandbox
Screenshot 1: Legacy broad external storage unlocked shared cross-app directories, whereas modern Scoped Storage keeps each app’s files isolated with zero storage permission.

Graph 1 maps the four-stage phase-out from wide-open external storage to Android 13+ deprecation:

Timeline chart showing Android deprecation of WRITE_EXTERNAL_STORAGE at Android 11 and READ_EXTERNAL_STORAGE at Android 13 via maxSdkVersion caps
Graph 1: Why well-built apps cap WRITE_EXTERNAL_STORAGE at API 29 and READ_EXTERNAL_STORAGE at API 32 using android:maxSdkVersion.

2. Why Legacy Shared Storage Was Dangerous: Covert Tracking & Cross-App Snooping

Empirical mobile security studies at USENIX Security ’24 and NDSS 2025 revealed why leaving shared external storage open created long-running privacy nightmares:

Diagram explaining three dangers of legacy external storage: covert persistent SD card cookies, cross-app data snooping, and file tampering on outdated builds
Screenshot 2: How SDKs abused shared storage to write hidden cross-app tracking files, snoop on unrelated app exports, and exploit older API targets.

Three Key Privacy Risks Linked to Legacy External Storage

  • 1. Covert Cross-App “SD Card Tracking Cookies” (USENIX Security ’24): Research by Zikan Dong et al. (Exploring Covert Third-party Identifiers through External Storage in the Android New Era) uncovered tracking SDKs writing hidden identifier files and modified media tags onto external storage so unrelated apps could stitch user profiles together—even after Ad ID resets.
  • 2. Cross-App Browsing of Shared Exports & Caches: On Android 9 and below—or Android 10 builds claiming legacy storage opt-out—any app granted READ_EXTERNAL_STORAGE could read downloads, chat media exports, and unencrypted app folders created by other apps.
  • 3. Rogue Overwrites & Low-Target-SDK Fragmentation: Legacy WRITE_EXTERNAL_STORAGE let intrusive apps alter or wipe shared user files. Meanwhile, unmaintained sideloaded APKs compiled for older APIs—alongside subtle OEM boundary bugs studied in NDSS 2025 (ScopeVerif)—continue exploiting outdated devices.
Data graphic highlighting covert SD card cookie tracking, cross-app folder reading, file tampering, and app-private sandbox isolation
Graph 2: Comparing legacy shared-storage threat vectors against modern app-private Scoped Storage isolation.

3. Technical Breakdown: How Scoped Storage Handles Every Android Version

Understand exactly what READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE can still touch by OS version:

Android VersionWRITE_EXTERNAL_STORAGEREAD_EXTERNAL_STORAGEPrivate Sandbox (getExternalFilesDir)
Android 9 & Lower (API ≤ 28)Active — Broad shared directory writesActive — Broad shared folder readsUnrestricted inside app’s own folder (0 permissions)
Android 10 (API 29)Obsolete unless opting out via requestLegacyExternalStorageScoped to MediaStore collections by defaultIsolated (0 permissions)
Android 11–12 (API 30–32)Deprecated / Zero Effect on modern appsScoped strictly to shared media (MediaStore)Enforced Scoped Storage (0 permissions)
Android 13+ (API 33+)Ignored (Use MediaStore dialogs or SAF)Deprecated & Ignored (Replaced by READ_MEDIA_*)Fully isolated + Photo Picker / SAF support
Table 1: Evolution of legacy storage permissions and Scoped Storage enforcement across Android versions.

4. Red Flags vs. Clean Design: Spotting Legacy Storage Abuse Today

Even on newer phones, watching which apps ask for legacy storage signals a lot about code hygiene:

App Behavior / CategoryWhy Does It Ask for Legacy Storage?VerdictSafe Privacy Advice
Clean Modern Apps (Target API 33+)Uses private sandbox + maxSdkVersion caps + Photo Picker / SAFSafe PatternOnly asks per-file via system dialog or granular media permissions when needed.
Older Phones (Android 10–12) Utility AppsGames, readers & editors still triggering generic “Files and media” promptDeny Unless NeededAn app saving its own settings or saves needs zero external storage permission.
Third-Party Sideloaded Clones & Old APKsLow targetSdkVersion builds avoiding modern Play Store API upgradesHigh Risk / AvoidOutdated APKs often bundle legacy tracking SDKs designed around shared folders.
Cleaners, “Phone Boosters” & FlashlightsAsking for Storage/Files permission to inspect user caches & downloadsAlways Deny / UninstallUtility clones frequently scrape download folders and bundle intrusive ad networks.
Local Hardware & Privacy Utilities (AmpereFlow & VEYRO)Zero legacy storage permissions declared or requestedZero Storage ExposureDiagnostic battery telemetry and offline privacy utilities keep zero footprint outside app sandboxes.
Table 2: Clean Scoped Storage architecture vs. legacy red flags.

5. The Safe Way: 4 Steps to Close Legacy Storage Gaps

Protect your shared folders and kill covert cross-app file tracking in four quick steps:

  1. Strip “Files / Storage” Permissions From Utility & Game Apps: On Android 10–12 devices, check Settings > Privacy > Permission manager > Files and media (or Photos and videos on Android 13+) and switch non-gallery apps to Don’t allow.
  2. Replace Unmaintained Low-API Sideloads: Uninstall abandoned APKs targeting old Android versions from third-party download sites. Google Play’s API-level rules keep apps forced inside Scoped Storage sandboxes.
  3. Keep Confidential Documents Out of Shared /Download: Never leave unencrypted bank CSVs, tax PDFs, or recovery exports inside general /Download folders—move them into password-protected or encrypted storage.
  4. Choose Minimal Offline Utilities: Stick with clean tools like AmpereFlow and VEYRO on clickpms.com that verify device health and privacy offline without touching shared external storage.
Four practical steps to eliminate legacy Android storage risks: auditing old Files permissions, removing low-API sideloads, moving sensitive PDFs out of Download, and preferring zero-storage tools
Screenshot 3: Four practical hygiene steps to revoke old storage permissions, drop low-API APKs, and sanitize shared Downloads.

6. Frequently Asked Questions

Does WRITE_EXTERNAL_STORAGE still let apps write anywhere on Android 11, 13, or 15?

No. Since Android 11 (API 30), WRITE_EXTERNAL_STORAGE grants zero additional write access—and modern Google Play apps cap it with android:maxSdkVersion="29". Apps write freely inside their own private sandbox directory without any permission.

Why do I no longer see a single “Storage” group on Android 13 and newer phones?

Android 13 deprecated READ_EXTERNAL_STORAGE and split shared file controls into specific categories: Photos and videos (READ_MEDIA_IMAGES / VIDEO) and Music and audio (READ_MEDIA_AUDIO), while non-media documents use zero-permission Storage Access Framework pickers.

Can two separate apps still share hidden tracking files on modern Android?

Scoped Storage blocked standard covert SD-card cookies between isolated sandboxes, though USENIX Security ’24 research demonstrated that sideloaded low-API apps, broad MANAGE_EXTERNAL_STORAGE grants, and legacy builds remain the main loopholes attackers look for.

7. Verified Official Documentation & Security Research References