Skill v1.0.0
currentAutomated scan100/100version: "1.0.0" name: location-data-privacy-security description: Use when handling personal or sensitive location data — precision reduction/generalization, retention policy, access control for tracking data, re-identification risk from "anonymized" location datasets, and regulatory considerations (GDPR-style location data treatment).
Location Data Privacy & Security
When to use this skill
- Any feature storing or displaying an individual person's or vehicle's location history
- "Can we anonymize this location dataset" / deciding how precise to make displayed/stored coordinates
- Designing access control for who can see live or historical tracking data
Core concepts
Location data is frequently re-identifying even without a name attached. A sequence of location points (especially including a "home" cluster overnight and a "work" cluster on weekdays) can re-identify a specific individual from an ostensibly anonymized dataset — this is a well-documented risk in mobility-data research, not a theoretical edge case. Treat raw individual-level location history as sensitive personal data by default, not as harmless metadata.
Precision reduction is a real mitigation, not a formality. Reducing coordinate precision (fewer decimal places), spatial generalization (snapping to a grid cell or administrative area instead of exact coordinates), or temporal generalization (reporting "was in this area sometime today" instead of exact timestamps) meaningfully reduces re-identification risk for aggregate/analytics use cases where individual-level precision isn't the actual requirement.
Access control should be need-based, not role-based-by-default. "All logged-in staff can see all live locations" is a common overreach — design access scoped to what a given user role genuinely needs (e.g., a dispatcher needs live fleet location; a billing analyst does not).
Checklist
- [ ] Is individual-level location history treated as sensitive data in storage (encryption at rest where required), transit (TLS), and access logging?
- [ ] Is retention explicitly time-bounded rather than "keep forever" — define how long individual-level history is needed and purge/aggregate beyond that
- [ ] For analytics/aggregate use cases, is data generalized (grid cell, coarser time bucket) rather than querying raw individual-level history each time — reduces both privacy risk and the surface area needing strict access control
- [ ] Is access to live/historical individual tracking data scoped per role to actual operational need, not broadly available to anyone authenticated?
- [ ] If location data is ever exported/shared externally (partners, research, public dashboards), has re-identification risk been assessed — even "anonymized" trip/mobility data can often be re-identified from home/work location patterns
- [ ] Does the application's privacy notice/consent flow accurately describe what location data is collected, for how long, and who can access it — a legal as well as ethical requirement in most jurisdictions with data protection law (GDPR and equivalents generally treat precise location as sensitive/special-category-adjacent data requiring clear lawful basis)
- [ ] Is there an audit trail of who accessed which individual's location data and when, for sensitive tracking systems (fleet, personnel, health-adjacent contexts)?
Common pitfalls
- Assuming stripping a name/user ID "anonymizes" a location trace: home/work clusters and movement patterns frequently re-identify individuals from location data alone — don't treat this as solved by ID removal.
- Unbounded retention of high-precision individual location history "in case it's useful later" — increases both storage cost and privacy/breach exposure without a defined need.
- Broad default access to live tracking dashboards: exposes individual movement patterns to more staff than operationally necessary — scope access deliberately.
- Exporting "aggregated" mobility data that's actually still individually re-identifiable because the aggregation groups are too small or the underlying granularity is too fine — aggregate to a group size and spatial/temporal resolution genuinely large enough to prevent re-identification.
- No distinction between operational need (live dispatch) and analytical need (trend reporting) when designing data access — analytical use cases almost always can and should work from generalized/aggregated data rather than raw individual traces.
Related skills
realtime-geospatial-tracking— the system this data typically originates fromgeospatial-api-design— enforcing access scoping at the API layer