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.
1Two 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.
2Data at rest, in transit, in use
| 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.
3Classifying 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 |
4Regulated 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.
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.
5Worked examples
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(a) Stored on media: at rest.
- 2(b) Moving between devices: in transit.
- 3(c) Being processed and viewed: in use.
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?
- 1At rest: encrypted. In transit: encrypted.
- 2When the clerk opens a record, the data is in use, and it must be decrypted to be shown.
- 3The missing control is access control: a billing clerk needs payment data, not full treatment notes.
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(a) An email address identifies a person: PII. The user is under 13, so COPPA applies.
- 2(b) A test result about a person's health: PHI, covered by HIPAA.
- 3(c) Card number and CVV are payment card information, covered by PCI-DSS.
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?
- 1The X-rays and billing files are PHI: highly sensitive and regulated by HIPAA.
- 2The newsletter drafts are low-sensitivity internal documents.
- 3More sensitive data gets a higher degree of security, and the law requires it for PHI.
6Common mistakes
Data must be decrypted to be used. While it is open on screen or in memory, access controls are the protection.
A name is PII. Combined with a diagnosis it becomes PHI; combined with a card number it becomes payment card data.
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.
“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.