Skip to content

UK GDPR Data Subject Rights: An Engineering Guide for UK Businesses

Navigating UK GDPR data subject rights is a critical challenge for UK businesses. This guide provides an engineering-focused roadmap to implement access, rectification, and erasure requests effectively, ensuring compliance with the Data Protection Act 2018 and ICO guidance.

By Sahil Chaudhary9 min readSecurity

For UK businesses, understanding and implementing the UK GDPR data subject rights is not just a legal obligation but a cornerstone of customer trust. With the Data Protection Act 2018 building upon the GDPR framework, engineering teams face concrete challenges in delivering compliant systems that respect individual privacy.

TL;DR: This guide provides a practical engineering framework for implementing UK GDPR data subject rights, focusing on Data Subject Access Requests (DSARs), rectification, and erasure. It covers technical patterns, common pitfalls, and verification methods to ensure your UK business builds privacy-by-design into its software.

Key takeaways

Close-up of dual computer monitors with green coding interfaces in a dark room, highlighting cyber security themes.
Photo by Tima Miroshnichenko on Pexels
  • UK GDPR is an engineering challenge: Compliance with data subject rights (access, rectification, erasure) requires specific architectural and coding patterns, not just legal policies.
  • Data mapping is foundational: Before implementing any right, your engineering team must have a clear inventory of all personal data, its location, and processing activities.
  • Secure, auditable APIs are critical: All interactions related to data subject rights must go through robust, authenticated, and logged API endpoints.
  • Deletion is complex: True data erasure involves careful consideration of backups, linked systems, and legal retention periods, often requiring anonymisation or pseudonymisation rather than outright deletion.
  • Regular testing and training: Continuous privacy audits, penetration testing, and developer training are essential to maintain compliance and adapt to evolving threats.

Understanding UK GDPR Data Subject Rights

Dark room setup with code displayed on PC monitors highlighting cybersecurity themes.
Photo by Tima Miroshnichenko on Pexels

The UK General Data Protection Regulation (UK GDPR), enacted through the Data Protection Act 2018, grants individuals significant control over their personal data. For software engineers, these rights translate into specific technical requirements for how data is stored, processed, and managed within applications. The core rights that demand engineering attention include:

  • Right to be Informed: Transparency about data collection and use.
  • Right of Access (DSAR): Individuals can request a copy of their personal data.
  • Right to Rectification: Individuals can request inaccurate data be corrected.
  • Right to Erasure ('Right to be Forgotten'): Individuals can request their data be deleted.
  • Right to Restrict Processing: Individuals can block or suppress processing of their data.
  • Right to Data Portability: Individuals can obtain and reuse their data across different services.
  • Right to Object: Individuals can object to processing based on legitimate interests or direct marketing.
  • Rights in Relation to Automated Decision Making and Profiling: Safeguards against solely automated decisions with legal or significant effects.

For UK SMEs, scale-ups, and enterprises, neglecting these rights carries not only reputational risks but also potential fines from the Information Commissioner's Office (ICO). This is general information, not legal advice. Always consult official ICO guidance or legal counsel for specific circumstances.

The Engineering Challenge: From Policy to Code

Translating legal obligations into functional software requires a 'privacy-by-design' approach. Generic solutions or off-the-shelf compliance tools often fall short because they don't integrate deeply with your application's architecture and data flows. The first critical step is a comprehensive data mapping and inventory exercise.

Your engineering team must precisely identify:

  • What personal data is collected? (e.g., names, email addresses, IP addresses, behavioural data)
  • Where is it stored? (e.g., databases, logs, third-party services, data warehouses)
  • Who has access to it? (e.g., internal teams, external APIs, cloud providers)
  • For what purpose is it processed? (e.g., service delivery, marketing, analytics)
  • What is the lawful basis for processing? (e.g., consent, contract, legitimate interest)
  • How long is it retained? (Data retention policies)

Without this clarity, implementing a DSAR or an erasure request becomes a complex, error-prone manual task. Consider a simple data query:

-- Potentially incomplete query for user data
SELECT * FROM users WHERE email = 'user@example.com';

This query might miss data stored in other tables (e.g., orders, support tickets, analytics logs) or in external services. A robust solution requires a centralised view or a well-orchestrated retrieval process across all data stores.

Implementing Data Subject Access Requests (DSARs)

A Data Subject Access Request (DSAR) allows an individual to ask for a copy of the personal data an organisation holds about them. From an engineering perspective, this involves several stages:

  1. Request Reception: Provide clear channels for users to submit DSARs (e.g., a dedicated portal, email address).
  2. Identity Verification: Crucial to prevent data exfiltration. Implement robust authentication (e.g., requiring login, multi-factor authentication, or asking for specific personal identifiers only the data subject would know) before processing.
  3. Data Retrieval and Collation: This is the most complex step. Your systems must aggregate all personal data associated with the individual from every identified data source. This often involves federated queries or batch processing across multiple databases, data lakes, and third-party APIs.
  4. PII Redaction (for others): Ensure that any personal data belonging to other individuals is redacted or anonymised before disclosure.
  5. Format and Delivery: Present the data in a concise, intelligible, and easily portable format (e.g., CSV, JSON, PDF). Deliver securely, ideally through an authenticated portal rather than email.
  6. Audit Trail: Log every step of the DSAR process – request received, verification, data retrieved, delivered – for accountability.

Here’s a conceptual pseudo-code for a DSAR data retrieval process:

async function processDSAR(userId) {
  if (!verifyIdentity(userId)) {
    throw new Error('Identity verification failed');
  }

  const userData = {};
  // 1. Retrieve from primary database
  userData.profile = await db.fetchUserProfile(userId);
  userData.orders = await db.fetchUserOrders(userId);

  // 2. Retrieve from analytics platform (e.g., anonymised session data, but linkable)
  userData.analytics = await analyticsAPI.fetchUserEvents(userId);

  // 3. Retrieve from CRM system
  userData.crm = await crmAPI.fetchUserInteractions(userId);

  // 4. Aggregate and format
  const formattedData = formatDataForUser(userData);

  // 5. Secure delivery (e.g., secure portal, encrypted download)
  await deliverSecurely(userId, formattedData);

  // 6. Log the action for auditability
  await auditLog.recordDSAR(userId, 'completed');
  return true;
}

Engineering the Right to Rectification and Erasure

Rectification

The right to rectification means individuals can ask you to correct inaccurate personal data. Engineering this requires:

  • Authoritative Source: Identify the primary source of truth for each piece of data.
  • API Endpoints: Provide secure, authenticated API endpoints (e.g., PATCH /users/{id}) for data updates.
  • Data Propagation: Ensure updates cascade correctly across all linked systems and databases. This might involve event-driven architectures (e.g., Kafka, RabbitMQ) to ensure consistency.
  • Validation: Implement robust validation to prevent invalid data from being stored.
  • Audit Trail: Log all data changes, including who made the change, when, and what the previous value was.

Erasure ('Right to be Forgotten')

This is arguably the most challenging right to implement. True erasure means permanent deletion beyond recovery. However, several factors complicate this:

  • Legal Obligations: Your organisation might have legal or regulatory obligations (e.g., HMRC records, FCA operational resilience requirements for financial services as of 2026) to retain certain data for specific periods.
  • Backups and Archives: Data often resides in backups, disaster recovery systems, and long-term archives. Deleting from live systems is one thing; ensuring deletion from all backups requires careful planning and a defined retention policy for backups.
  • Linked Data: Deleting a user's profile might break referential integrity or invalidate historical transaction records if not handled carefully.
  • Anonymisation/Pseudonymisation: Often, full deletion is not feasible or desirable. Instead, engineers can anonymise (irreversibly remove personal identifiers) or pseudonymise (replace identifiers with reversible tokens) data, especially for analytical purposes.

When NOT to use this approach

Direct, immediate deletion of all data may not be appropriate when your organisation has a legal obligation to retain specific data for a set period (e.g., financial transaction records for seven years for HMRC purposes, or health records under NHS guidelines). In such cases, consider alternatives like data minimisation, pseudonymisation, or restricting processing until the retention period expires, rather than full erasure. Always document the lawful basis for retention.

Practical Steps for UK GDPR Compliance in Your Stack

For a trusted UK software development agency like Krapton, embedding these practices into client projects is standard. Here’s a checklist for your engineering team:

  1. Data Inventory & Classification: Maintain an up-to-date registry of all personal data, categorised by sensitivity (e.g., PII, sensitive PII) and processing purpose. Tools like Collibra or open-source alternatives can help.
  2. Secure API Design for Privacy Controls:
    • Implement strong authentication and authorisation for all endpoints handling personal data.
    • Use unique identifiers for data subjects, not easily guessable values.
    • Rate-limit requests to prevent abuse.
    • Employ secure HTTP headers and Content Security Policies.
  3. Database Schema Considerations:
    • Data Minimisation: Only store data that is necessary for the stated purpose.
    • Encryption: Encrypt sensitive personal data at rest and in transit.
    • Soft Deletes: For erasure, consider 'soft deletes' (marking a record as deleted) for auditability, combined with a scheduled hard deletion process from backups.
    • Separate Data: Where possible, separate highly sensitive data into distinct tables or services.
  4. Logging and Audit Trails:
    • Log all access to and changes of personal data.
    • Record all data subject requests and their resolution.
    • Ensure logs are tamper-proof and retained according to policy, accessible only to authorised personnel.
  5. Team Training and DevSecOps Integration:
    • Regularly train your development and operations teams on UK GDPR principles and secure coding practices.
    • Integrate privacy checks into your CI/CD pipeline.
    • Conduct regular NCSC-aligned secure development guidance reviews.
  6. Third-Party Vendor Management: Ensure all third-party services (e.g., analytics, payment gateways, cloud providers) you integrate with are also UK GDPR compliant and have appropriate data processing agreements (DPAs) in place.

Common Pitfalls and How to Verify Your Implementation

Even with the best intentions, engineering teams can stumble. Be aware of these common pitfalls:

  • Inadequate Identity Verification: Releasing personal data to the wrong person due to weak verification is a severe breach.
  • Incomplete Data Deletion/Rectification: Data lingering in backups, logs, or shadow systems after an erasure request.
  • Lack of Clear Processes: Ad-hoc handling of data subject requests leads to delays, errors, and non-compliance.
  • Data Silos: Personal data scattered across unconnected systems, making aggregation for DSARs or complete erasure nearly impossible.
  • Over-retention: Keeping data longer than necessary, increasing risk and non-compliance.

To verify your implementation of software security services and UK GDPR compliance:

  • Internal Audits: Regularly conduct internal checks against your data inventory and processing activities.
  • Penetration Testing: Include privacy-specific test cases in your penetration tests, attempting to bypass identity verification or access data without authorisation.
  • Privacy Impact Assessments (PIAs) / Data Protection Impact Assessments (DPIAs): For new projects or significant changes, conduct DPIAs to identify and mitigate privacy risks proactively.
  • Simulated Data Subject Requests: Periodically run mock DSARs, rectification, and erasure requests to test your internal processes and technical systems end-to-end.
  • External Audits: Consider engaging an independent third party for privacy audits, especially if you handle sensitive data.

FAQ

What is the ICO's role in UK GDPR compliance?

The Information Commissioner's Office (ICO) is the UK's independent authority set up to uphold information rights. It provides guidance, enforces the Data Protection Act 2018 (including UK GDPR), investigates complaints, and can issue fines for non-compliance. Their guidance is essential for UK businesses.

How does UK GDPR affect small businesses?

UK GDPR applies to all organisations processing personal data, regardless of size. While the scale of implementation might differ, the core principles and individual rights remain the same. Small businesses must still be transparent, secure data, and respond to data subject requests within the stipulated timelines.

What are the timelines for fulfilling a DSAR in the UK?

Under UK GDPR, organisations generally have one calendar month to respond to a Data Subject Access Request (DSAR). This period can be extended by a further two months for complex or numerous requests, provided the data subject is informed of the extension and the reasons for it within the initial month.

Get a security-minded engineering team — talk to Krapton about software security services

Implementing UK GDPR data subject rights requires deep technical expertise and a commitment to privacy-by-design. Whether you're building a new application or modernising an existing system, Krapton's engineering team can help you navigate the complexities of UK GDPR compliance, ensuring your software is robust, secure, and trustworthy. We build scalable, compliant solutions tailored for the UK market.

Book a free consultation with Krapton to discuss your software security needs.

About the author

Krapton Engineering is the international team that builds robust web, mobile, and AI software. We embed security-by-design principles into every project, ensuring resilient and compliant applications.

  • application security
  • uk gdpr
  • data protection act 2018
  • privacy engineering
  • data subject rights
  • dsar
  • ico
  • secure coding
  • compliance

Talk to Krapton about your project.

Tell us what you want to improve. We’ll help you shape the right scope, team and starting point.

What are you thinking?