Find a course

Module 2: How Tracking WorksLesson 4 of 1111 min

Apps, Permissions and Ad IDs

Learn how phone apps collect data through permissions and embedded SDKs, how advertising IDs work, and how to audit your phone in fifteen minutes.

Step 1 of 14Learn

The flashlight that wanted your location

A few years ago, security researchers found that some simple flashlight apps requested access to location, contacts and the microphone. A flashlight needs the camera light, nothing more. The extra permissions served one purpose: collecting data to sell.

Your phone protects sensitive features behind permissions: location, camera, microphone, contacts, photos, calendar, Bluetooth, nearby devices, health and motion data. An app must ask before using them, and you can change your answer later in settings.

The question to ask is simple: Does this permission match what the app does for me? A maps app needs location. A photo editor needs photos. A calculator needs nothing. When the request doesn't fit the purpose, say no. Most apps keep working, and the ones that refuse to work without an unrelated permission are telling you something.

Modern phones offer finer choices than yes or no:

  • While using the app instead of always for location.
  • Approximate location instead of precise, enough for weather or local news.
  • Selected photos instead of the whole library.
  • Ask every time for permissions you rarely want to grant.

Step 2 of 14Practice · Sort into groups

For each app, decide whether the permission fits its purpose.

Tap an item, then tap its group (or drag it there).

Step 3 of 14Practice · Diagram

Does the permission fit the app?

Which corner holds the permissions to deny right away?

Tap the shape that answers the question, then press Check.

Does the permission fit the app?Two-by-two matrix: Flashlight wants location, Maps wants location, Game wants vibration, Camera app wants storage.Flashlight wants locationMaps wants locationGame wants vibrationCamera app wants storageNeeded for the main feature?NoYesHow sensitiveLowHigh
Flashlight wants location

Sensitive and unnecessary: deny it, or pick another app.

Maps wants location

Needed, but choose "while using" rather than "always."

Game wants vibration

Unneeded but harmless.

Camera app wants storage

Needed and low risk.

Step 4 of 14Learn

SDKs: the passengers inside your apps

Even an honest app can leak data through the code it borrows. Developers rarely build everything themselves. They add SDKs (software development kits): ready-made pieces of code for crash reports, analytics, payments, maps and advertising.

When you grant an app location, every SDK inside that app may be able to read it too. An ad SDK in a free game can send your location, device details and advertising ID to its own company, which may sell it onward. Investigations have traced precise location data from ordinary apps, such as prayer apps, weather apps and games, to brokers that resell it.

You can't inspect SDKs directly, but you can reduce the risk:

  • Fewer apps means fewer SDKs. Delete apps you haven't used in three months.
  • Use the website for services you use rarely. A browser with tracking protection exposes much less than an app.
  • Check the privacy label in the app store. Apple and Google require developers to declare data collected and whether it is linked to you or used for tracking. Labels are self-reported, but a long list of data "used to track you" is a clear warning.
  • Deny location to any app that doesn't strictly need it. Location is the most sensitive and most resold data type.

Step 5 of 14Diagram

The passengers inside one app

The passengers inside one appProcess diagram: You open an app → Built-in SDKs start → Each sends device data → To the SDK's own company → Joined across many apps.You open an appBuilt-in SDKs startEach sends devicedataTo the SDK's owncompanyJoined across manyapps

Tap a shape with to see more.

You open an app
Built-in SDKs start

Analytics, ads, crash reports, social login.

Each sends device data

Often your ad ID, rough location and usage.

To the SDK's own company
Joined across many apps

The same SDK in 1,000 apps sees you in all of them.

Step 6 of 14Practice · Select all that apply

Which steps reduce data leaking through SDKs inside apps? Select all that apply.

Select all that apply.

Step 7 of 14Learn

Advertising IDs

Every iPhone and Android phone has an advertising identifier: a random ID that apps can read to recognize your device for ads. It works like a phone-wide cookie. If ten apps report the same ad ID to a broker, the broker can stitch your use of all ten into one profile, with location if any of them had it.

The good news is that you control it:

  • iPhone: apps must ask permission to track you across other companies' apps and websites (the "Ask App Not to Track" prompt). You can also turn off "Allow Apps to Request to Track" in privacy settings so the answer is always no.
  • Android: in privacy or Google settings, you can delete the advertising ID. Apps then receive a string of zeros instead of a usable identifier.

Choosing "don't track" doesn't remove ads. You'll see the same number of ads, just less personalized. It also doesn't stop an app from collecting data for its own use; it limits the cross-app linking that brokers depend on. For most people this is one of the highest-value privacy settings on the phone, and it takes under a minute.

Step 8 of 14Diagram

How one ad ID links your apps

How one ad ID links your appsProcess diagram: Weather app: ad ID + location → Game: ad ID + play times → Shopping app: ad ID + purchases → Broker joins on the ad ID → One detailed profile.Weather app: ad ID +locationGame: ad ID + playtimesShopping app: ad ID +purchasesBroker joins on the adIDOne detailed profile

Tap a shape with to see more.

Weather app: ad ID + location
Game: ad ID + play times
Shopping app: ad ID + purchases
Broker joins on the ad ID
One detailed profile

Where you go, when you're awake, what you buy.

Step 9 of 14Note

Step 10 of 14Note

Step 11 of 14Practice · Fill in the blanks

Fill in the blanks

On an iPhone, apps must ask before they you across other companies' apps and websites. On Android, you can the advertising ID so apps no longer receive a usable identifier.

Step 12 of 14Compare

Ad ID controls on each platform

AspectiPhoneAndroid
What it's calledIdentifier for Advertisers (IDFA)Advertising ID
DefaultApps must ask to track youAvailable unless you remove it
Best settingTurn off "Allow apps to request to track"Delete the advertising ID
What it doesn't stopFirst-party data each app collectsFirst-party data and other identifiers

Step 13 of 14Learn

Beyond the phone: cars, TVs and smart speakers

Phones get most of the attention, but many other devices collect data about you.

Cars. Modern connected cars record location, speed, braking and sometimes in-cabin audio or camera data. Investigations have found that some carmakers shared driving behavior with data brokers that sold it to insurers, which then raised premiums for drivers who never knowingly agreed. Check the car's app and privacy settings for data sharing and "driving score" programs.

Smart TVs. Many TVs use automatic content recognition (ACR), which samples what's on screen, even from a game console or cable box, to build viewing profiles for advertising. The setting usually hides under names like "viewing information" or "smart interactivity," and turning it off doesn't affect picture quality.

Smart speakers and doorbells. Voice assistants keep recordings of requests unless you change the default, and some doorbell cameras share footage with neighbors' apps or, under certain conditions, with police. Review the recording history and sharing settings and set auto-delete where offered.

The rule from apps applies here too: does this data collection serve something I want from the device?

Step 14 of 14Practice · Choose one

A free weather app asks for location "Always" plus precise location. What is the best choice?