Classifying Data
Label sensitive data.
Classifying Data is a free Cyber Security Academy lesson on CoddyKit — lesson 2 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Cyber Security Academy learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.
Why Classify Data
You cannot protect what you have not categorized. Data classification labels information by sensitivity so the right controls, access rules, and DLP policies apply. It is the foundation of DLP and most compliance programs.
A Classification Scheme
A common four-tier scheme:
- Public: safe to share freely.
- Internal: for employees, low harm if leaked.
- Confidential: sensitive, restricted access.
- Restricted / Secret: highest sensitivity, strict controls.
Mapping to Data Types
Tie tiers to concrete examples so staff know where data fits:
- Public: marketing brochures.
- Internal: org charts, meeting notes.
- Confidential: customer PII, contracts.
- Restricted: card data, health records, secrets.
Regulated Data Categories
Some data carries legal weight:
- PII: personally identifiable information (GDPR).
- PCI: cardholder data.
- PHI: protected health information (HIPAA).
These usually map to Confidential or Restricted.
Labeling Data
Classification becomes useful when it is labeled, attaching the category to the data so tools can act on it.
- Metadata labels stored with the file.
- Visual markings in headers/footers.
- Headers/tags in emails and documents.
Manual vs Automated Classification
Two approaches, often combined:
- Manual: the author picks a label at creation; accurate but inconsistent.
- Automated: tools scan content and apply labels by pattern; scalable but needs tuning.
Discovery and Scanning
Most organizations already have unlabeled data everywhere. Data discovery tools crawl file shares, databases, and cloud storage to find and classify existing sensitive data.
# example: scan a directory for card-like patterns
grep -rEl '[0-9]{4}[- ]?[0-9]{4}[- ]?[0-9]{4}[- ]?[0-9]{4}' /shared/Classification Drives Controls
The label determines the handling rules:
- Restricted: encrypt, log access, block external sharing.
- Confidential: restrict to need-to-know.
- Public: no restrictions.
DLP policies reference labels to decide whether to block a transfer.
Handling and Retention by Class
Each class should define how data is stored, transmitted, shared, and how long it is kept. Restricted data may require encryption and short retention; public data has none. Document this in a data handling standard.
Reclassification
Data sensitivity changes over time. A confidential earnings report becomes public after release. Define when and how data is reclassified or downgraded so controls stay proportionate.
Common Pitfalls
Classification programs fail when:
- Too many tiers confuse users (keep it 3-4).
- Labels are not enforced by tooling.
- Legacy data is never discovered and labeled.
- No clear owner maintains the scheme.
Quick Check
Apply the classification tiers.
Recap
Classification is the foundation of data protection:
- Use a simple tiered scheme (Public to Restricted).
- Label data via metadata, markings, and tags.
- Combine manual and automated classification plus discovery.
- Let the label drive handling, retention, and DLP controls.
Frequently asked questions
Is the “Classifying Data” lesson free?
Yes — the full text of “Classifying Data” is free to read here on the web, and the Cyber Security Academy course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Cyber Security Academy course, upgrade to CoddyKit PRO.
What will I learn in “Classifying Data”?
Label sensitive data. You practise Cyber Security Academy with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.
Do I need any experience to start Cyber Security Academy?
No prior experience is required. Cyber Security Academy on CoddyKit is structured for beginners through advanced learners; this is — lesson 2 of 4, so you can start here or from the beginning and move at your own pace.
How long does the “Classifying Data” lesson take?
Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.
Can I write and run code in this Cyber Security Academy lesson?
Yes. Every Cyber Security Academy lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.
All lessons in this course
- What Is DLP
- Classifying Data
- DLP Controls
- Insider Threats