Skip to content
PeekWellThe Handbook
Join now

UK GDPR Article 32: website security headers

At a glance

UK-15MediumUK GDPR Art. 32

Peeky reads the browser protections your server sends with every page, checks each one is switched on and tightly set, and estimates the score Mozilla's HTTP Observatory would give.

Last checked against the source:

I need to fix thisI need the rule

The rule

Article 32 of the UK GDPR is headed security of processing. It is risk-based and it names no technology. The ICO’s penalty notice to DPP Law Ltd sets out its core text.

Article 32(1) reads: “Taking into account the state of the art, the costs of implementation and the nature, scope, context and purposes of processing as well as the risk of varying likelihood and severity for the rights and freedoms of natural persons, the controller and the processor shall implement appropriate technical and organisational measures to ensure a level of security appropriate to the risk”. Article 32(2) adds that in assessing the appropriate level of security, account is to be taken “in particular of the risks that are presented by processing, in particular from accidental or unlawful destruction, loss, alteration, unauthorised disclosure of, or access to personal data transmitted, stored or otherwise processed”.

The ICO’s encryption guidance asks for HTTPS across all pages and recommends HSTS, which UK-17 covers. It names Content-Security-Policy only for its “upgrade-insecure-requests” directive, to force third-party content onto HTTPS. The ICO’s wider data security guide says an organisation should consider “the security of your website and any other online service or application that you use”, and have “a process for regularly testing, assessing and evaluating the effectiveness of any measures you put in place”. The pages read don’t name X-Frame-Options or the other headers, so they’re better described as common practice. Where the check sits on the score is PeekWell’s own call: medium when a protection is missing or switched off, low when it’s only set loosely.

Penalties sit in two tiers. Article 83(4) allows fines “up to £8,700,000, or in the case of an undertaking, up to 2 % of the total worldwide annual turnover of the preceding financial year, whichever is higher” for infringements of, among others, “the obligations of the controller and the processor pursuant to Articles 8, 11, 25 to 39 and 42 and 43”, which includes Article 32. Article 83(5) sets the higher ceiling of £17,500,000 or 4% for the principles in Article 5, among others.

The ICO often cites Article 32 together with Article 5(1)(f), the integrity and confidentiality principle, which sits in the upper tier. In the British Airways notice the ICO adds that it must avoid reasoning “purely with the benefit of hindsight”.

What PeekWell checks and how

UK-15 is the check called “Missing or weak security headers”. It asks which browser protections your server sends with each page, whether each one is switched on, and how tightly it’s set. It doesn’t ask whether the site can be broken into, and it can’t answer that.

The scan is automated. It covers everything Mozilla’s HTTP Observatory tests, the free grader many developers already use, and adds Permissions-Policy, which Observatory doesn’t score. Peeky reads six pages twice, a minute apart, where Observatory reads one.

A protection that isn’t in force is reported at medium severity:

  • Content-Security-Policy, X-Frame-Options or the frame-ancestors setting, X-Content-Type-Options, Referrer-Policy or Permissions-Policy is missing, or sent with a value browsers ignore.
  • A content security policy is sent in report-only mode, so browsers block nothing.
  • A sign-in or session cookie has no Secure or HttpOnly flag.
  • The server lets any other website call it with your visitors’ cookies.

When everything is switched on and something is set loosely, that’s reported at low severity:

  • A content security policy that lets scripts run inline or from anywhere, or still allows unsafe-eval.
  • A Referrer-Policy that passes full page addresses to other sites.
  • An HSTS lifetime under six months.
  • Any other cookie without Secure, HttpOnly or SameSite.
  • A script loaded from another website with no integrity value, so the browser can’t tell if the file changed.

Three newer headers, Cross-Origin-Opener-Policy, Cross-Origin-Embedder-Policy and Cross-Origin-Resource-Policy, are written down in the report and never count against you.

The finding ends with an estimate of the score Observatory would give your home page, out of 145, with its letter grade. It’s Peeky’s own estimate, worked out from Observatory’s published scoring. Peeky never runs Observatory and never sends your address to it, so Mozilla’s own number can differ. The report lists each header once, with the pages that sent it and the pages that didn’t.

The scan has limits, and the report says so. It reads what the server sends with the public pages it visited. It also asks your server the one question a browser asks before a script on another site may call it, and writes down the answer. That’s all. It doesn’t port-scan, try to get in where it isn’t allowed, run any security test or open addresses nobody linked to. It can’t see how data is stored or who inside the company can reach it. A Passed means every protection was switched on and tightly set on the pages scanned. It doesn’t say the site complies.

Whether the connection itself is encrypted, with HTTPS, recent TLS and HSTS, is UK-17. EU-15 asks this question under the GDPR, and US-15 adds a check of well-known paths.

Why it matters for a company

None of the ICO decisions below turns on a missing header. They show how the ICO reads Article 32 once something has gone wrong, and one of them, British Airways, is the kind of incident a content security policy is meant to limit.

The British Airways notice of 16 October 2020 imposed £20 million. Between 22 June and 5 September 2018 an intruder used compromised credentials for a remote-access gateway and eventually edited a JavaScript file on britishairways.com, designed to send cardholder data to a domain the intruder controlled. The ICO found that BA had not processed customers’ data with appropriate security, under Articles 5(1)(f) and 32 of the GDPR as it applied at the time, for about 429,612 people. BA did not admit liability, and the ICO took account of its prompt notification, its cooperation and the effect of the pandemic when it set the amount.

DPP Law Ltd was fined £60,000 on 14 April 2025 for infringements of Articles 5(1)(f), 32(1), 32(2) and 33(1). The ICO found that the firm did not apply least privilege or audit its administrator accounts, and that a legacy-system service account with full network rights had no multi-factor authentication. Data on 791 clients and experts was taken and posted on the dark web. The ICO press release of 16 April 2025 says the intruders used brute force. The notice records fewer than 250 staff and a turnover of £3,486,494 in 2023/24, and the ICO weighed that turnover when it set the figure.

Two reprimands point the same way. In April 2024 the ICO reprimanded Clyde Valley Housing Association after a new online portal, on its first day, let residents see other residents’ documents, and the ICO said it had not been properly tested before launch. In August 2026 it reprimanded ACRO after unauthorised access to its website and content management system, citing Article 32.

For a company the reading is practical. The ICO’s guidance treats testing as part of the duty, and its notices describe what happened after a gap was left open. A script changed on a live checkout page, as at British Airways, is exactly what a content security policy restricts.

Smaller companies and larger companies

Article 32 has no size threshold, and the ICO weighs turnover only when it sets a fine, as the DPP notice shows. The risk to people is what counts.

In a smaller company the site is often a hosted builder or a plugin-heavy content system. The hosting default sends no security headers at all, nobody owns the server configuration, and the cookies a plugin sets go out without the Secure or HttpOnly flag. DPP Law shows that a firm with a turnover of a few million pounds is within the ICO’s reach, though its case was about account access, not a website setup.

In a larger company the same problems multiply. There are many hostnames, agency microsites, legacy portals and a tag manager that adds third-party scripts. A content security policy is loosened because it broke a tag and then left that way. Headers differ from one host to the next because each team set its own. British Airways shows why scripts matter: the card data left through a changed file on the live site.

Enforcement cases

Published decisions about other companies, listed for context. Each links to the authority's own page. They say nothing about any particular website.

The Officer, squinting at a file.

Larger companies

  • British Airways plc

    ICO (United Kingdom), 2020£20 million

    The ICO found that an intruder, using compromised credentials for a remote-access gateway, moved through BA's network and edited a JavaScript file on britishairways.com so that customers' card details were sent to a domain the intruder controlled. The notice covers about 429,612 people and finds that BA failed to ensure appropriate security under Articles 5(1)(f) and 32. BA did not admit liability.

    Read the ICO (United Kingdom) publication about British Airways plc
  • Chartered Institute for Securities & Investment

    ICO (United Kingdom), 2023No fine; reprimand

    The ICO found that a third party used a known flaw in unsupported website software, for which a fix had been available since 2017, to place code on the checkout page that captured the payment details of an estimated 3,883 people. No security testing had been carried out before the incident, and the ICO cited Article 32(1), 32(1)(b) and 32(1)(d).

    Read the ICO (United Kingdom) publication about Chartered Institute for Securities & Investment
  • Gain Capital UK Limited

    ICO (United Kingdom), 2023No fine; reprimand

    The ICO found that a third party used an unpatched software flaw to get into the company's systems and take personal data on 72,361 UK people. The company believed its support contractor would tell it about security updates, but the contract made upgrades the company's own responsibility. The ICO cited Articles 32(2) and 32(1)(b).

    Read the ICO (United Kingdom) publication about Gain Capital UK Limited
  • 23andMe, Inc.

    ICO (United Kingdom), 2025£2,310,000

    The ICO found that 23andMe did not protect customer accounts against credential stuffing, where passwords leaked elsewhere are tried on a login page, affecting 155,592 UK users in 2023. The penalty notice lists failures including no enforced minimum password length or complexity, no block on weak or compromised passwords and no mandatory multi-factor authentication until after the incident, under Articles 5(1)(f) and 32(1).

    Read the ICO (United Kingdom) publication about 23andMe, Inc.
  • Ticketmaster UK Limited

    ICO (United Kingdom), 2020£1.25 million

    The ICO said Ticketmaster failed to put appropriate security measures in place to stop a chat bot installed on its online payment page from being compromised, and that the resulting incident exposed customers' payment card details. It said 9.4 million customers across Europe were affected, 1.5 million of them in the UK, and that 60,000 payment cards were subjected to known fraud as a result.

    Read the ICO (United Kingdom) publication about Ticketmaster UK Limited
  • The Electoral Commission

    ICO (United Kingdom), 2024No fine; reprimand

    The ICO found that unknown actors got into the Commission's on-premises Microsoft Exchange Server through the publicly known ProxyShell flaws in unpatched software, installed web shells, and had access between August 2021 and October 2022 to systems holding Electoral Register data on about 40 million people. The Commission said it was aware of problems with out-of-date infrastructure. The ICO cited Articles 5(1)(f) and 32(1)(b).

    Read the ICO (United Kingdom) publication about The Electoral Commission

Smaller companies

  • DPP Law Ltd

    ICO (United Kingdom), 2025£60,000

    The ICO found that DPP Law, a law firm with fewer than 250 staff and a turnover of £3,486,494 in 2023/24, did not apply least privilege or audit its administrator accounts. A legacy-system service account with full network rights had no multi-factor authentication. Data on 791 clients and experts was taken and posted on the dark web. The ICO found infringements of Articles 5(1)(f), 32(1), 32(2) and 33(1) UK GDPR.

    Read the ICO (United Kingdom) publication about DPP Law Ltd
  • Direct Clothing Co. (UK) Limited

    ICO (United Kingdom), 2022No fine; reprimand

    The ICO found that malicious code had been added to the company's WordPress website, letting an unknown third party collect customers' payment card details at checkout. No security patches or updates had been applied since at least February 2019, no scanning for known weaknesses was done, and the company wrongly believed its IT provider was responsible for maintaining the site. The ICO cited Articles 32(1), 32(1)(b) and 32(1)(d).

    Read the ICO (United Kingdom) publication about Direct Clothing Co. (UK) Limited
  • My Media World Limited (Brand New Tube)

    ICO (United Kingdom), 2023No fine; reprimand

    The ICO found that the video platform had not put appropriate technical and organisational security measures in place, leading to unauthorised access and the taking of personal data on 345,000 UK people. It said the company relied on assurances from third parties and staff without contracts or oversight, and could not say when security scans had last been run.

    Read the ICO (United Kingdom) publication about My Media World Limited (Brand New Tube)
  • Levales Solicitors LLP

    ICO (United Kingdom), 2024No fine; reprimand

    The ICO found that someone used legitimate credentials to get into the firm's cloud-based server and published data on the dark web, affecting 8,234 UK individuals, 863 of them at high risk. It found the firm was not ensuring the ongoing confidentiality of its systems and had not put appropriate organisational measures in place, citing Articles 32(1)(b) and 32(1)(d).

    Read the ICO (United Kingdom) publication about Levales Solicitors LLP

How to fix it

The headers below are common practice rather than named rules, so start with the ones that break nothing and work towards a content security policy.

  1. Find where your headers are set. It’s usually the web server, the CDN, the host’s dashboard or a middleware file in the code. Check each hostname, since they often differ.
  2. Add the simple ones. X-Content-Type-Options: nosniff and a Referrer-Policy such as strict-origin-when-cross-origin rarely break anything.
  3. Stop other sites framing yours. Set frame-ancestors 'self' in a content security policy, or X-Frame-Options: SAMEORIGIN.
  4. Start a content security policy in report-only mode. List the scripts and services your pages use, read the reports for a week or two, then switch it on. When you do, add upgrade-insecure-requests, the directive the ICO names.
  5. Tighten the policy. Swap unsafe-inline for a nonce or hashes, list the hosts your scripts come from, and add object-src 'none'. Report-only on its own still shows as a medium finding, because browsers block nothing until you switch the policy on.
  6. Limit browser features. A Permissions-Policy can switch off the camera, microphone and location for pages that don’t need them.
  7. Flag your cookies. Set Secure and HttpOnly on cookies the server sets, the sign-in cookie first, and a SameSite value that fits how each is used.
  8. Pin the scripts you borrow. Add an integrity value to library files loaded from a CDN, or host them yourself. Tag managers and payment scripts change too often to pin, so leave those and name them in your policy.
  9. Check who may call your server. If it answers every caller’s name in Access-Control-Allow-Origin and allows cookies with it, name your own sites instead.
  10. Test on a schedule. The ICO’s guide asks for regular testing of the measures. Put a dated re-scan in the calendar, and run one now to check each header shows as switched on, on every page. The Observatory estimate in the finding should move up with it.
add_header X-Content-Type-Options "nosniff" always;
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header Content-Security-Policy-Report-Only "default-src 'self'" always;

The snippet is a starting point, not a finished policy. A real content security policy has to list the scripts and services your pages use. Whether it meets your obligations is a question for your adviser, and Peeky reports only what it sees.

Questions

What does UK GDPR Article 32 require for a website?

Appropriate technical and organisational measures, matched to the risk. The article lists no headers or protocol versions. It asks the organisation to weigh the state of the art, the cost and the harm that could follow.

The ICO's guidance fills in the detail for websites, mostly about HTTPS, which is UK-17. The rule has the wording.

Is a content security policy required under UK GDPR?

The ICO's encryption guidance recommends one Content-Security-Policy directive, upgrade-insecure-requests, as an HTTPS feature. It does not ask for a content security policy as a general requirement, so how Peeky weighs a missing one is PeekWell's own call: medium severity. Article 32 asks for appropriate measures, and a content security policy is one common way to limit what scripts can run on a page.

Which HTTP security headers does Peeky look at?

Content-Security-Policy, X-Frame-Options or the `frame-ancestors` setting, X-Content-Type-Options, Referrer-Policy and Permissions-Policy, plus the Secure, HttpOnly and SameSite flags on cookies your server sets. It also reads how each one is set, whether borrowed scripts are pinned and who may call your server, which is everything Mozilla's HTTP Observatory tests. A missing header is reported at medium severity and a loosely set one at low. That weighting is PeekWell's own, because the ICO's guidance doesn't ask for them by name. HSTS is part of the connection check, UK-17.

Does a report-only content security policy count?

Not as protection. `Content-Security-Policy-Report-Only` tells browsers to report what a policy would block, and to block nothing. It's the right way to try a policy out, and Peeky reports it at medium severity until the policy is switched on.

Give the reports somewhere to go with a `report-to` or `report-uri` setting, read them for a week or two, then send the same policy as `Content-Security-Policy`. How to fix it has the steps.

Filed with

The rule

UK GDPR (retained Regulation (EU) 2016/679), Arts. 5(1)(f), 32 and 83(4)

Read the rule (UK GDPR (retained Regulation (EU) 2016/679), Arts. 5(1)(f), 32 and 83(4))

A case

British Airways plc

ICO (United Kingdom), 2020

Read the decision (British Airways plc)

Your site

Is your website affected? Join now to find out.

Join now

Sources

The law

  1. legislation.gov.uk, UK GDPR Art. 32 (security of processing)
  2. legislation.gov.uk, UK GDPR Art. 5 (principles, including integrity and confidentiality in 5(1)(f))
  3. legislation.gov.uk, UK GDPR Art. 83 (administrative fines), revised version in force

Guidance

  1. ICO, Encryption and data transfer (transport layer encryption)
  2. ICO, A guide to data security
  3. NCSC, Small organisations guide to cyber security

Decisions and cases

  1. ICO, Penalty notice: DPP Law Ltd, 14 April 2025
  2. ICO, enforcement action: DPP Law Ltd, monetary penalty of £60,000, 14 April 2025
  3. ICO, Law firm fined £60,000 after a cyber incident, 16 April 2025 (DPP Law Ltd)
  4. ICO, Penalty notice: British Airways plc, 16 October 2020
  5. ICO, reprimand: Direct Clothing Co. (UK) Limited, 18 July 2022
  6. ICO, reprimand: Chartered Institute for Securities & Investment, 21 February 2023
  7. ICO, reprimand: My Media World Limited t/a Brand New Tube, 25 July 2023
  8. ICO, reprimand: Levales Solicitors LLP, 21 June 2024
  9. ICO, reprimand: Gain Capital UK Limited, 10 March 2023
  10. ICO, enforcement action: 23andMe, monetary penalty of £2,310,000, 5 June 2025
  11. ICO, Penalty notice: 23andMe, Inc.
  12. ICO, reprimand: Clyde Valley Housing Association, 9 April 2024
  13. ICO, Housing association reprimanded for exposing personal information on online portal, 17 April 2024
  14. ICO, ACRO reprimanded following cyber security failings, 12 August 2026
  15. ICO, reprimand: ACRO Criminal Records Office, 7 August 2026
  16. ICO, Information Commissioner's Annual Report and Financial Statements 2020/21 (records the £1.25 million penalty on Ticketmaster UK Limited, November 2020)
  17. ICO, reprimand: The Electoral Commission, 9 May 2024
  18. ICO, Reprimand to The Electoral Commission (full text)
  19. ICO, reprimand: Mayor's Office for Policing and Crime (webforms on london.gov.uk left publicly viewable), 13 March 2024

Last checked against the source:

For information only. Not legal advice.