本文へ移動
cccskills
無料GitHub で公開

implementing-data-protection-by-default

Technical implementation of GDPR Article 25(2) data protection by default. Covers strictest privacy settings as default configuration, minimum data collection, limited storage duration, restricted accessibility, and opt-in rather than opt-out patterns. Includes implementation checklist and system design requirements.

インストール方法を見る

含まれるファイル(5)

  • SKILL.md9.8 KB
  • assets/template.md3.4 KB
  • references/standards.md3.0 KB
  • references/workflows.md4.3 KB
  • scripts/process.py11.4 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Implementing Data Protection by Default

Overview

GDPR Article 25(2) requires that controllers implement appropriate technical and organisational measures for ensuring that, by default, only personal data which are necessary for each specific purpose of the processing are processed. This obligation applies across four dimensions:

  1. Amount of personal data collected
  2. Extent of processing performed
  3. Period of storage
  4. Accessibility of personal data

The EDPB Guidelines 4/2019 on Article 25 clarify that "by default" means the strictest privacy settings apply automatically, without requiring any action from the data subject. The data subject should not need to take action to protect their privacy — the system does it for them.

The Four Dimensions of By-Default Protection

Dimension 1: Minimum Data Collection (Amount)

Principle: By default, collect only the data fields strictly necessary for the core service purpose. Additional data collection requires explicit opt-in.

Default StateOpt-In StateExample
Core fields onlyExtended profileAccount creation collects email + display_name only; phone, address, photo collected only if user activates billing or delivery features
No location dataLocation-enabled featuresMobile app does not request location permission by default; only requests when user activates location-dependent feature
No behavioral trackingAnalytics opt-inWebsite loads without analytics cookies; tracking begins only after user grants consent in cookie banner
Minimal form fieldsProgressive disclosureRegistration form shows 3 required fields; optional fields appear only when user clicks "Add more information"

Prism Data Systems AG Implementation: The default customer registration at Prism Data Systems AG collects exactly three fields: email, display_name, and country_code. The country code is needed for regulatory compliance (determining applicable data protection law). All other fields (phone number, billing address, company name, job title) are collected only when the user activates a feature that requires them (billing module, enterprise integration, support escalation).

Dimension 2: Minimum Processing (Extent)

Principle: By default, process data only for the primary purpose. Secondary processing (analytics, profiling, marketing) requires explicit opt-in.

Processing ActivityDefault StateOpt-In Required
Core service deliveryActive (Art. 6(1)(b))No
Product analyticsDisabledYes — consent toggle in preference center
Marketing communicationsDisabledYes — separate consent at registration
Profiling for recommendationsDisabledYes — explicit opt-in with explanation
Third-party data sharingDisabledYes — named third party + purpose
Automated decision-makingDisabledYes — Art. 22 explicit consent

Prism Data Systems AG Implementation: New customer accounts at Prism Data Systems AG have all optional processing activities disabled by default. The account dashboard shows five processing toggles, all set to OFF:

  • Product analytics: OFF
  • Marketing emails: OFF
  • Feature recommendations: OFF
  • Usage data for ML training: OFF
  • Anonymous benchmarking contributions: OFF

Dimension 3: Minimum Storage (Period)

Principle: By default, apply the shortest defensible retention period. Longer retention requires justification tied to a specific legal obligation.

Data CategoryDefault RetentionExtended Retention (Justified)
Session dataDeleted at session endNot applicable
Server logs90 days12 months (security investigation)
Customer account dataAccount duration + 30 days+ statutory period (tax: 10 years for billing)
Support tickets1 year after closure3 years (limitation period)
Marketing consent recordsConsent duration + 3 years+ 5 years (accountability, Art. 7(1))
Analytics data13 monthsNot applicable (maximum)

Prism Data Systems AG Implementation: The retention policy engine at Prism Data Systems AG applies the shortest retention period by default for each data category. Extended retention is applied only for data categories with documented statutory requirements (tax records: 10 years per Swiss CO Art. 958f). All other data follows the purpose-based minimum retention.

Dimension 4: Minimum Accessibility

Principle: By default, restrict access to personal data to the minimum set of roles necessary. Broader access requires explicit authorization.

RoleDefault AccessElevated Access (Requires Justification)
Customer support (Tier 1)Masked PII only (m***@domain.ch)Unmasked PII (30-min timeout, ticket reference required)
Analytics teamPseudonymized data onlyNo access to direct identifiers
Engineering teamNo production PII accessBreak-glass access (dual approval, logged, time-limited)
Marketing teamAggregate statistics onlyNo individual-level data access
DPOFull access for compliance investigationsStanding access with audit trail
External auditorAnonymized samplesPurpose-limited access with NDA

Prism Data Systems AG Implementation: All new employee accounts at Prism Data Systems AG are provisioned with zero personal data access by default. Access is granted per-purpose through an access request workflow requiring manager approval and DPO notification. Access grants expire after 90 days and must be renewed. The Tier 1 support dashboard displays dynamically masked data by default.

Technical Implementation Checklist

User Interface Defaults

  • All consent toggles default to OFF (unticked)
  • Privacy settings page accessible from main navigation
  • No pre-selected optional data collection
  • No dark patterns (no misleading button labels, no visual emphasis on "Accept All")
  • Cookie banner defaults to "Reject All" with equal visual prominence to "Accept All"
  • Registration form shows only mandatory fields by default
  • Notification preferences default to minimum (transactional only)
  • Profile visibility defaults to private (not public)
  • Data sharing toggles default to OFF for each third party
  • Search engine indexing of profiles defaults to OFF

Backend Defaults

  • API endpoints reject non-allowlisted fields (return 400 for unexpected fields)
  • New database tables include TTL metadata columns by default
  • Default retention period applied automatically unless longer period is explicitly configured
  • Pseudonymization applied at analytics ingestion boundary by default
  • Field-level encryption enabled for all PII columns by default
  • Dynamic masking rules applied to all support and operations dashboards
  • Audit logging enabled for all personal data access by default
  • Minimum group size (11) enforced on all analytics outputs
  • Cross-purpose data access blocked by default (requires compatibility assessment)
  • New service deployments fail privacy gate if data minimization assessment is not completed

Access Control Defaults

  • New employee accounts provisioned with zero personal data access
  • Access grants expire after 90 days by default
  • Elevated access requires documented justification and approval
  • Break-glass access logged and reviewed within 24 hours
  • Third-party access disabled by default until DPA is executed
  • API keys scoped to minimum required data categories

Communication Defaults

  • Marketing communications disabled for all new accounts
  • Transactional emails only (account confirmations, security alerts)
  • Push notifications limited to security alerts by default
  • Newsletter subscription requires separate opt-in
  • Partner communications disabled by default

By-Default Verification Process

  1. New account audit — Create a test account through the standard registration flow. Verify that no optional processing is active, no marketing communications are scheduled, and the minimum data fields are collected.

  2. Dashboard inspection — Log in as a Tier 1 support agent. Verify that all PII is masked by default and that unmasking requires explicit action with justification.

  3. API testing — Send API requests with additional fields beyond the allowlist. Verify that extra fields are rejected (HTTP 400).

  4. Retention verification — Check that newly created records have TTL metadata set according to the minimum retention period.

  5. Analytics output — Run a standard analytics query. Verify that results are pseudonymized, minimum group size is enforced, and differential privacy noise is applied.

Key Regulatory References

  • GDPR Article 25(2) — Data protection by default
  • GDPR Article 25(1) — Data protection by design
  • GDPR Recital 78 — Technical measures for data protection by default
  • EDPB Guidelines 4/2019 on Article 25, Section 3: Data Protection by Default
  • CJEU C-673/17 (Planet49) — Pre-ticked boxes do not constitute consent
  • EDPB Guidelines 05/2020 on consent — Consent must be freely given, not default

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Implements 42 CFR Part 2 protections for substance use disorder patient records. Covers written consent requirements stricter than HIPAA, re-disclosure prohibition, court order procedures, qualified service organization agreements, and 2024 amendments aligning Part 2 with HIPAA. Keywords: 42 CFR Part 2, substance use disorder, SUD records, re-disclosure, consent, Part 2 amendments.

日本語の概要は準備中です。原文の説明を表示しています。

mukul975/Privacy-Data-Protection-Skills3032026年3月17日 更新

Guides assessment of third-country adequacy decisions under GDPR Article 45 for international data transfers. Covers the current EC adequacy decisions list, adequacy assessment criteria, partial adequacy handling, and monitoring of adequacy decision reviews. Keywords: adequacy decision, Article 45, third country, adequate protection, EC adequacy list.

日本語の概要は準備中です。原文の説明を表示しています。

mukul975/Privacy-Data-Protection-Skills3032026年3月17日 更新

Implements age-gating mechanisms for online services to restrict access based on user age. Covers hard gates versus soft gates, neutral age prompts, re-verification triggers, circumvention prevention, and regulatory requirements under GDPR, COPPA, UK Online Safety Act, and DSA. Keywords: age gate, age restriction, neutral prompt, children, online services, access control.

日本語の概要は準備中です。原文の説明を表示しています。

mukul975/Privacy-Data-Protection-Skills3032026年3月17日 更新

Evaluates and implements age estimation and verification technologies for online services. Covers facial age estimation, digital ID verification, self-declaration with risk assessment, AI-based age estimation, and the accuracy versus privacy tradeoff. Includes ICO guidance and euCONSENT framework. Keywords: age verification, age estimation, facial analysis, digital ID, children, online safety.

日本語の概要は準備中です。原文の説明を表示しています。

mukul975/Privacy-Data-Protection-Skills3032026年3月17日 更新

Preparing EU AI Act compliance documentation for high-risk AI systems. Covers Annex III classification, technical documentation under Art. 11, conformity assessment, risk management systems, and CE marking requirements. Keywords: EU AI Act, high-risk AI, Annex III, conformity assessment, CE marking.

日本語の概要は準備中です。原文の説明を表示しています。

mukul975/Privacy-Data-Protection-Skills3032026年3月17日 更新

Implements GDPR Art. 22 automated decision-making and AI Act Art. 14 human oversight requirements for AI systems. Covers identification of solely automated decisions, meaningful human intervention design, logic explanation mechanisms, and contestation procedures. Keywords: Art. 22, automated decision, human oversight, AI Act, profiling, contestation.

日本語の概要は準備中です。原文の説明を表示しています。

mukul975/Privacy-Data-Protection-Skills3032026年3月17日 更新

mukul975 のスキルをすべて見る

このスキルの問題を報告する