---
title: "Data State & Classification | FiveStudy"
description: "How data at rest, in transit, and in use each need different protection, and how sensitivity and laws for PII, PHI, and payment card data set the degree of security."
url: https://fivestudy.com/guides/ap-cybersecurity-5-2-a-data-state-classification
---

[AP Cybersecurity](https://fivestudy.com/ap-cybersecurity) · Study guide

# Data State & Classification

[Figure: FiveStudy]

FiveStudy

AP® Cybersecurity · Unit 5 · Applications, Data & Cryptography

AP® Cybersecurity · Unit 5 · Applications, Data & Cryptography

# Data State & Classification

How the state data is in (at rest, in transit, in use) and how sensitive it is (PII, PHI, payment card data) decide what security it needs.

1. Two questions about any data 2. Data at rest, in transit, in use 3. Classifying by sensitivity 4. Regulated data and the laws behind it 5. Worked examples 6. Common mistakes

## 1 Two questions about any data

Organizations do not protect all data the same way. Two questions decide the type and degree of security:

- **What state is it in?** Stored, moving, or being used. Each state is attacked differently, so each needs different controls.
- **How sensitive is it, and is it regulated?** More sensitive data gets more protection, and some data must, by law, be stored, sent, and handled according to specific rules.

## 2 Data at rest, in transit, in use

**Figure 1.** Saving, sending, and opening the same list create three copies, and each needs a different kind of protection. Data in use cannot stay encrypted, so access controls do the work there.

| State | Where the data is | Main threats | Protections |
| --- | --- | --- | --- |
| Data at rest | Stored on a drive (server, laptop, USB, backup) | Theft or destruction of the drive; someone copying the files | Physical protection of the drive; encryption, so a thief cannot immediately read it |
| Data in transit | Being sent from one device to another | Someone tapping a cable or capturing network traffic | Protecting the physical media (cables); encryption, so intercepted data cannot immediately be read |
| Data in use | Being processed by software or viewed by a person | Someone who should not see or change it getting access | Access controls that limit who or what can view or edit it |

Data in use **must be unencrypted** to be used: an app cannot show a nurse a scrambled list. That is why access controls, not encryption, are the main protection for data in use.

## 3 Classifying by sensitivity

Organizations often **categorize data by sensitivity** and give more sensitive information a higher degree of security. A common scheme looks like this:

| Label | Example | Typical handling |
| --- | --- | --- |
| Public | Opening hours, the menu, press releases | No restriction |
| Internal | Staff schedules, the office phone list | Employees only |
| Confidential | Customer lists, contracts, salaries | Need-to-know access; encrypt at rest and in transit |
| Regulated | PII, PHI, payment card data | Labeled; handled by written policy that meets the law |

## 4 Regulated data and the laws behind it

Organizations implement specific security controls to comply with legal requirements, based on the types of data they collect, store, process, and transmit. Three categories come up again and again:

| Category | What it includes | Law or standard |
| --- | --- | --- |
| **PII** (personally identifiable information): any data that allows someone to be identified | Name, signature, phone number, address, biometric data such as fingerprints, Social Security number, date of birth, email address | Many laws; the best known is the Privacy Act of 1974; for children under 13, the Children's Online Privacy Protection Act (COPPA) of 1998 |
| **PHI** (protected health information): data about a person's health, treatment, or payment for health care, at any time | Test results, treatment records, hospital records, doctor visit notes, health provider payment records | Health Insurance Portability and Accountability Act (HIPAA) of 1996 |
| **PCI** (payment card information): data collected to process card payments | Name, account number, expiration date, address, CVV code | Payment Card Industry Data Security Standard (PCI-DSS) |

Organizations that collect regulated data **label** it and write **policies** that comply with the rules for its safe storage, transmission, and handling. The label is what tells an employee or a system, “this file falls under HIPAA,” so the right controls apply automatically.

The key idea

Protect data according to its state (lock and encrypt it at rest, encrypt it in transit, control access while it is in use) and according to its sensitivity. Regulated data such as PII, PHI, and payment card data must be labeled and handled by policy that meets the law.

## 5 Worked examples

Worked Example 1 Name the state

### Where is the data?

Name the state of the data in each: (a) a backup tape of patient records in a storage closet; (b) a customer's card number traveling from a store's checkout to the bank; (c) a teacher editing a grades spreadsheet on screen.

1. 1

   (a) Stored on media: at rest.

2. 2

   (b) Moving between devices: in transit.

3. 3

   (c) Being processed and viewed: in use.

**Answer:** (a) at rest, (b) in transit, (c) in use.

Worked Example 2 Pick the protection

### Why not just encrypt it?

A hospital encrypts its patient database on disk and encrypts all network traffic. A billing clerk can still open any patient's full treatment record. Which state is unprotected, and what is missing?

1. 1

   At rest: encrypted. In transit: encrypted.

2. 2

   When the clerk opens a record, the data is in use, and it must be decrypted to be shown.

3. 3

   The missing control is access control: a billing clerk needs payment data, not full treatment notes.

**Answer:** Data in use. Limit the clerk's access to the fields their job needs.

Worked Example 3 Classify the data

### Which law?

Classify each and name the rule that covers it: (a) a 10-year-old's email address collected by a game website; (b) an MRI result at a hospital; (c) a card number and CVV stored by an online shop.

1. 1

   (a) An email address identifies a person: PII. The user is under 13, so COPPA applies.

2. 2

   (b) A test result about a person's health: PHI, covered by HIPAA.

3. 3

   (c) Card number and CVV are payment card information, covered by PCI-DSS.

**Answer:** (a) PII under COPPA, (b) PHI under HIPAA, (c) PCI under PCI-DSS.

Worked Example 4 Choose the degree

### Two folders, one budget

A small dental office can afford strong encryption and strict access controls for only one of two folders: the office newsletter drafts or the patient X-ray and billing files. Which gets it, and why?

1. 1

   The X-rays and billing files are PHI: highly sensitive and regulated by HIPAA.

2. 2

   The newsletter drafts are low-sensitivity internal documents.

3. 3

   More sensitive data gets a higher degree of security, and the law requires it for PHI.

**Answer:** The patient files. Sensitivity and regulation both point the same way.

## 6 Common mistakes

Common Mistake 1 · Thinking encryption protects data in use

Data must be decrypted to be used. While it is open on screen or in memory, access controls are the protection.

Common Mistake 2 · Treating a name alone as harmless

A name is PII. Combined with a diagnosis it becomes PHI; combined with a card number it becomes payment card data.

Common Mistake 3 · Protecting only one state

The same file can be at rest on a server, in transit to a laptop, and in use on a screen at the same moment. Each copy needs its own protection.

Explain a data protection choice like this

“The appointment list contains patient names and visit reasons, which is PHI covered by HIPAA. At rest on the server it should be encrypted, in transit to the nurse’s computer it should travel over an encrypted connection, and in use, access controls should let only care staff view it.”

Classify the data, name each state it passes through, and match a protection to each state.

FiveStudy AP® Cybersecurity · Data State & Classification
