AP Computer Science Principles · Unit 5 lecture · Part 7 of 11 · 9 min

5.6 Safe computing: PII and privacyYour data, and what it reveals

Mr. Thompkins
Quick question: what do apps know about you? Your name, sure. But also where your phone slept last night, what you searched for at 2 a.m., and which videos you watched twice. Each piece seems harmless. Let's see what happens when they're put together.

Personally identifiable information, or PII, is information about an individual that identifies, links, relates or describes them. The CED's examples are a Social Security number, age, race, phone numbers, medical information, financial information and biometric data like a fingerprint or face scan. Some PII identifies you on its own. Other data identifies you only when combined.

Identifies you on its ownIdentifies you when combinedSensitive if leaked
Social Security numberBirthday + zip codeMedical information
Phone numberSchool + age + team photoFinancial information
Fingerprint or face scan (biometric)Daily location patternPasswords and PINs
Full name + home addressBrowsing history + cookiesRace, religion, health
Some data points straight at you; some only points at you in combination. Both deserve care.
?Wait, what's biometric data?
Biometric data is a measurement of your body used to identify you: a fingerprint, a face scan, a voice print, an eye scan. Unlike a password, you can't change it if it leaks.

Collection happens constantly. Search engines can record and maintain a history of searches made by users, and use it to suggest websites or target ads. Websites can record and maintain a history of individuals who have viewed their pages. Devices, websites and networks can collect information about a user's location. And cookies are small files a website stores on your device so it can recognize you when you come back, which is handy for staying logged in and also handy for tracking.

Here's the most important idea in this section. Disparate personal data, such as geolocation, cookies and browsing history, can be aggregated to create knowledge about an individual. Aggregated means combined. A piece of data that's harmless alone can become dangerous when it's combined with others. Technology enables the collection, use and exploitation of information about, by and for individuals, groups and institutions.

fitness app: run routephoto: school hoodiepost: "home alone"cookies: searchesone profilewhere she liveswhen she is alonewhat she worries aboutharmless one at a timerisky together
Four harmless-looking pieces of data. Combined, they reveal where someone lives, when she is alone and what worries her.
?Wait, what's the location metadata on a photo?
Many phones save the GPS location and time inside each photo file as metadata, from Unit 2. If you post the original file, anyone who downloads it might be able to read where it was taken. Many apps strip it, but not all do.

PII isn't only a risk. It can be used to make life easier: saved addresses make checkout faster, and a map app that knows your home can say when to leave. But the same information can be used to stalk someone, steal an identity, or help plan other crimes. Information placed online can be used in ways that were never intended and that have harmful impacts: an email can be forwarded, a post reshared, a photo seen by a future employer. And information posted online is difficult to delete, because copies, shares and screenshots can remain.

What can you do? Commercial and governmental curation of information may be exploited if privacy and other protections are ignored, so users need to protect themselves too. You can review the permission settings of programs that collect your information: turn off location for apps that don't need it, limit who can see your posts, and clear or block tracking cookies.

Pause and think
A fitness app shows a public map of every run. Your runs always start and end at the same corner at 6:15 a.m. Without posting your address, what have you revealed?
I thought about it. Show me
Probably where you live (the corner where every run starts and ends), when you leave home (6:15 a.m.) and that you're alone then. Combined with a name or a photo, that's a real safety risk. The fix: make maps private or hide the start and end of each route.
Analyze this scenario
Kai's public profile lists his first name and his school. He posts a photo from his 16th birthday party at home, a review of the pizza place on his street, and a vacation post: "Beach all week!" No single post gives his address. (a) What could a stranger work out by aggregating these? (b) Name two specific changes Kai should make.
  1. List the pieces: first name, school, exact age (16), a photo taken at home, the pizza place on his street, and the dates the house is likely empty.
  2. Aggregate: the school narrows the town, the pizza review narrows the street, the photo shows what the house looks like, and the vacation post says when nobody is home.
    Why?
    This is the CED's idea of disparate data aggregated into knowledge about an individual. Each piece passed the "is this PII?" test on its own. Together they don't.
  3. (a) A stranger could find his likely home, know his age, and know the house is empty this week.
  4. (b) Change 1: limit who can see his posts, so only people he knows see them. Change 2: post vacation photos after coming home, and turn off location on his camera and apps that don't need it.
    Why?
    Good answers name a specific setting or habit, not just "be careful online".

Answer: (a) His likely home, his age and that the house is empty this week. (b) Restrict who can see posts, post trips after returning, and turn off location permissions and photo location data.

Stuck? Get a hint
  1. Write down every fact each post reveals, even small ones.
  2. Which facts narrow down a place? Which one tells a time?
  3. Put them together. Then pick settings or habits that remove the riskiest pieces.
Check yourself
Which of the following is the best example of PII?
  1. AThe brand of a person's phone
  2. BA person's favorite color
  3. CA person's fingerprint scan
  4. DThe weather in a person's city
Show the answer

C. A fingerprint is biometric data that identifies one specific person, so it's PII. Millions of people share a phone brand, a favorite color or the weather in a city.

  • PII identifies, links, relates or describes a person: SSN, age, race, phone numbers, medical, financial and biometric data.
  • Search engines, websites, devices and cookies collect data constantly.
  • Separate data can be aggregated into knowledge about an individual.
  • Online information is hard to delete and can be used in unintended ways. Review permission settings.