
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/">
    <channel>
        <title><![CDATA[ The Cloudflare Blog ]]></title>
        <description><![CDATA[ Get the latest news on how products at Cloudflare are built, technologies used, and join the teams helping to build a better Internet. ]]></description>
        <link>https://blog.cloudflare.com</link>
        <atom:link href="https://blog.cloudflare.com/" rel="self" type="application/rss+xml"/>
        <language>en-us</language>
        <image>
            <url>https://blog.cloudflare.com/favicon.png</url>
            <title>The Cloudflare Blog</title>
            <link>https://blog.cloudflare.com</link>
        </image>
        <lastBuildDate>Sat, 04 Apr 2026 10:05:34 GMT</lastBuildDate>
        <item>
            <title><![CDATA[Reflecting on the GDPR to celebrate Privacy Day 2024]]></title>
            <link>https://blog.cloudflare.com/reflecting-on-the-gdpr-to-celebrate-privacy-day-2024/</link>
            <pubDate>Fri, 26 Jan 2024 12:22:06 GMT</pubDate>
            <description><![CDATA[ On Privacy Day 2024, we answer the EU Commission’s call for reflection on how the GDPR has been functioning by pointing out two ways in which the GDPR has been applied that actually may harm people’s privacy ]]></description>
            <content:encoded><![CDATA[ <p></p>
            <figure>
            
            <img src="https://cf-assets.www.cloudflare.com/zkvhlag99gkb/2TlioBYVYw9Vryn7Y7QdSr/d5b39462dbd6b9918fb03342296a68d9/Privacy-Day-2024.png" />
            
            </figure><p>Just in time for Data Privacy Day 2024 on January 28, the EU Commission is <a href="https://ec.europa.eu/info/law/better-regulation/have-your-say/initiatives/14054-Report-on-the-General-Data-Protection-Regulation_en">calling for evidence</a> to understand how the EU’s General Data Protection Regulation (GDPR) has been functioning now that we’re nearing the 6th anniversary of the regulation coming into force.</p><p>We’re so glad they asked, because we have some thoughts. And what better way to celebrate privacy day than by discussing whether the application of the GDPR has actually done anything to improve people’s privacy?</p><p>The answer is, mostly yes, but in a couple of significant ways – no.</p><p>Overall, the GDPR is rightly seen as the global gold standard for privacy protection. It has served as a model for what data protection practices should look like globally, it enshrines data subject rights that have been copied across jurisdictions, and when it took effect, it created a standard for the kinds of privacy protections people worldwide should be able to expect and demand from the entities that handle their personal data. On balance, the GDPR has definitely moved the needle in the right direction for giving people more control over their personal data and in protecting their privacy.</p><p>In a couple of key areas, however, we believe the way the GDPR has been applied to data flowing across the Internet has done nothing for privacy and in fact may even jeopardize the protection of personal data. The first area where we see this is with respect to cross-border data transfers. Location has become a proxy for privacy in the minds of many EU data protection regulators, and we think that is the wrong result. The second area is an overly broad interpretation of what constitutes “personal data” by some regulators with respect to Internet Protocol or “IP” addresses. We contend that IP addresses should not always count as personal data, especially when the entities handling IP addresses have no ability on their own to tie those IP addresses to individuals. This is important because the ability to implement a number of industry-leading cybersecurity measures relies on the ability to do threat intelligence on Internet traffic metadata, including IP addresses.  </p>
    <div>
      <h3>Location should not be a proxy for privacy</h3>
      <a href="#location-should-not-be-a-proxy-for-privacy">
        
      </a>
    </div>
    <p>Fundamentally, good data security and privacy practices should be able to protect personal data regardless of where that processing or storage occurs. Nevertheless, the GDPR is based on the idea that legal protections should attach to personal data based on the location of the data – where it is generated, processed, or stored. Articles 44 to 49 establish the conditions that must be in place in order for data to be transferred to a jurisdiction outside the EU, with the idea that even if the data is in a different location, the privacy protections established by the GDPR should follow the data. No doubt this approach was influenced by political developments around government surveillance practices, such as the revelations in 2013 of secret documents describing the relationship between the US NSA (and its Five Eyes partners) and large Internet companies, and that intelligence agencies were scooping up data from choke points on the Internet. And once the GDPR took effect, many data regulators in the EU were of the view that as a result of the GDPR’s restrictions on cross-border data transfers, European personal data simply could not be processed in the United States in a way that would be consistent with the GDPR.</p><p>This issue came to a head in July 2020, when the European Court of Justice (CJEU), in its “<i>Schrems II</i>” decision<sup>1</sup>, invalidated the EU-US Privacy Shield adequacy standard and questioned the suitability of the EU standard contractual clauses (a mechanism entities can use to ensure that GDPR protections are applied to EU personal data even if it is processed outside the EU). The ruling in some respects left data protection regulators with little room to maneuver on questions of transatlantic data flows. But while some regulators were able to view the <i>Schrems II</i> ruling in a way that would still allow for EU personal data to be processed in the United States, other data protection regulators saw the decision as an opportunity to double down on their view that EU personal data cannot be processed in the US consistent with the GDPR, therefore promoting the misconception that data localization should be a proxy for data protection.</p><p>In fact, we would argue that the opposite is the case. From our own experience and according to recent research<sup>2</sup>, we know that data localization threatens an organization’s ability to achieve <a href="https://www.cloudflare.com/cybersecurity-risk-management/">integrated management of cybersecurity risk</a> and limits an entity’s ability to employ state-of-the-art cybersecurity measures that rely on cross-border data transfers to make them as effective as possible. For example, Cloudflare’s <a href="/cloudflare-bot-management-machine-learning-and-more/">Bot Management product</a> only increases in accuracy with continued use on the global network: it detects and blocks traffic coming from likely bots before feeding back learnings to the models backing the product. A diversity of signal and scale of data on a global platform is critical to help us continue to evolve our bot detection tools. If the Internet were fragmented – preventing data from one jurisdiction being used in another – more and more signals would be missed. We wouldn’t be able to apply learnings from bot trends in Asia to bot mitigation efforts in Europe, for example. And if the ability to identify bot traffic is hampered, so is the ability to block those harmful bots from services that process personal data.</p><p>The need for industry-leading cybersecurity measures is self-evident, and it is not as if data protection authorities don’t realize this. If you look at any enforcement action brought against an entity that suffered a data breach, you see data protection regulators insisting that the impacted entities implement ever more robust cybersecurity measures in line with the obligation GDPR Article 32 places on data controllers and processors to “develop appropriate technical and organizational measures to ensure a level of security appropriate to the risk”, “taking into account the state of the art”. In addition, data localization undermines information sharing within industry and with government agencies for cybersecurity purposes, which is <a href="https://www.enisa.europa.eu/topics/national-cyber-security-strategies/information-sharing">generally recognized as vital</a> to effective cybersecurity.</p><p>In this way, while the GDPR itself lays out a solid framework for securing personal data to ensure its privacy, the application of the GDPR’s cross-border data transfer provisions has twisted and contorted the purpose of the GDPR. It’s a classic example of not being able to see the forest for the trees. If the GDPR is applied in such a way as to elevate the priority of data localization over the priority of keeping data private and secure, then the protection of ordinary people’s data suffers.</p>
    <div>
      <h3>Applying data transfer rules to IP addresses could lead to balkanization of the Internet</h3>
      <a href="#applying-data-transfer-rules-to-ip-addresses-could-lead-to-balkanization-of-the-internet">
        
      </a>
    </div>
    <p>The other key way in which the application of the GDPR has been detrimental to the actual privacy of personal data is related to the way the term “personal data” has been defined in the Internet context – specifically with respect to Internet Protocol or “IP” addresses. A world where IP addresses are always treated as personal data and therefore subject to the GDPR’s data transfer rules is a world that could come perilously close to requiring a walled-off European Internet. And as noted above, this could have serious consequences for data privacy, not to mention that it likely would cut the EU off from any number of global marketplaces, information exchanges, and social media platforms.</p><p>This is a bit of a complicated argument, so let’s break it down. As most of us know, IP addresses are the addressing system for the Internet. When you send a request to a website, send an email, or communicate online in any way, IP addresses connect your request to the destination you’re trying to access. These IP addresses are the key to making sure Internet traffic gets delivered to where it needs to go. As the Internet is a global network, this means it's entirely possible that Internet traffic – which necessarily contains IP addresses – will cross national borders. Indeed, the destination you are trying to access may well be located in a different jurisdiction altogether. That’s just the way the global Internet works. So far, so good.</p><p>But if IP addresses are considered personal data, then they are subject to data transfer restrictions under the GDPR. And with the way those provisions have been applied in recent years, some data regulators were getting perilously close to saying that IP addresses cannot transit jurisdictional boundaries if it meant the data might go to the US. The EU’s recent approval of the EU-US Data Privacy Framework established adequacy for US entities that certify to the framework, so these cross-border data transfers are not currently an issue. But if the Data Privacy Framework were to be invalidated as the EU-US Privacy Shield was in the <i>Schrems II</i> decision, then we could find ourselves in a place where the GDPR is applied to mean that IP addresses ostensibly linked to EU residents can’t be processed in the US, or potentially not even leave the EU.</p><p>If this were the case, then providers would have to start developing Europe-only networks to ensure IP addresses never cross jurisdictional boundaries. But how would people in the EU and US communicate if EU IP addresses can’t go to the US? Would EU citizens be restricted from accessing content stored in the US? It’s an application of the GDPR that would lead to the absurd result – one surely not intended by its drafters. And yet, in light of the <i>Schrems II</i> case and the way the GDPR has been applied, here we are.</p><p>A possible solution would be to consider that IP addresses are not always “personal data” subject to the GDPR. In 2016 – even before the GDPR took effect – the Court of Justice of the European Union (CJEU) established the view in <a href="https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:62014CJ0582&amp;from=en"><i>Breyer v. Bundesrepublik Deutschland</i></a> that even dynamic IP addresses, which change with every new connection to the Internet, constituted personal data if an entity processing the IP address could link the IP addresses to an individual. While the court’s decision did not say that dynamic IP addresses are <i>always</i> personal data under European data protection law, that’s exactly what EU data regulators took from the decision, without considering whether an entity actually has a way to tie the IP address to a real person<sup>3</sup>.</p><p>The question of when an identifier qualifies as “personal data” is again before the CJEU: In April 2023, the lower EU General Court ruled in <i>SRB v EDPS</i><sup><i>4</i></sup> that transmitted data can be considered anonymised and therefore not personal data if the data recipient does not have any additional information reasonably likely to allow it to re-identify the data subjects and has no legal means available to access such information. The appellant – the European Data Protection Supervisor (EDPS) – disagrees. The EDPS, who mainly oversees the privacy compliance of EU institutions and bodies, is appealing the decision and arguing that a unique identifier should qualify as personal data if that identifier could <i>ever</i> be linked to an individual, regardless of whether the entity holding the identifier actually had the means to make such a link.</p><p>If the lower court’s common-sense ruling holds, one could argue that IP addresses are not personal data when those IP addresses are processed by entities like Cloudflare, which have no means of connecting an IP address to an individual. If IP addresses are then not always personal data, then IP addresses will not always be subject to the GDPR’s rules on cross-border data transfers.</p><p>Although it may seem counterintuitive, having a standard whereby an IP address is not necessarily “personal data” would actually be a positive development for privacy. If IP addresses can flow freely across the Internet, then entities in the EU can use non-EU cybersecurity providers to help them secure their personal data. Advanced Machine Learning/predictive AI techniques that look at IP addresses to protect against DDoS attacks, prevent bots, or otherwise guard against personal data breaches will be able to draw on attack patterns and threat intelligence from around the world to the benefit of EU entities and residents. But none of these benefits can be realized in a world where IP addresses are always personal data under the GDPR and where the GDPR’s data transfer rules are interpreted to mean IP addresses linked to EU residents can never flow to the United States.</p>
    <div>
      <h3>Keeping privacy in focus</h3>
      <a href="#keeping-privacy-in-focus">
        
      </a>
    </div>
    <p>On this Data Privacy Day, we urge EU policy makers to look closely at how the GDPR is working in practice, and to take note of the instances where the GDPR is applied in ways that place privacy protections above all other considerations – even appropriate security measures mandated by the GDPR’s Article 32 that take into account the state of the art of technology. When this happens, it can actually be detrimental to privacy. If taken to the extreme, this formulaic approach would not only negatively impact cybersecurity and data protection, but even put into question the functioning of the global Internet infrastructure as a whole, which depends on cross-border data flows. So what can be done to avert this?</p><p>First, we believe EU policymakers could adopt guidelines (if not legal clarification) for regulators that IP addresses should not be considered personal data when they cannot be linked by an entity to a real person. Second, policymakers should clarify that the GDPR’s application should be considered with the cybersecurity benefits of data processing in mind. Building on the GDPR’s existing recital 49, which rightly recognizes cybersecurity as a legitimate interest for processing, personal data that needs to be processed outside the EU for cybersecurity purposes should be exempted from GDPR restrictions to international data transfers. This would avoid some of the worst effects of the mindset that currently views data localization as a proxy for data privacy. Such a shift would be a truly pro-privacy application of the GDPR.</p><p><sup>1 </sup>Case C-311/18, Data Protection Commissioner v Facebook Ireland and Maximillian Schrems.</p><p><sup>2</sup> <a href="https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4466479">Swire, Peter and Kennedy-Mayo, DeBrae and Bagley, Andrew and Modak, Avani and Krasser, Sven and Bausewein, Christoph, Risks to Cybersecurity from Data Localization, Organized by Techniques, Tactics, and Procedures</a> (2023).</p><p><sup>3</sup> Different decisions by the European data protection authorities, namely the Austrian DSB (December 2021), the French CNIL (February 2022) and the Italian Garante (June 2022), while analyzing the use of Google Analytics, have rejected the relative approach used by the Breyer case and considered that an IP address should always be considered as personal data. Only the decision issued by the Spanish AEPD (December 2022) followed the same interpretation of the Breyer case. In addition, see paragraphs 109 and 136 in <a href="https://www.datenschutzkonferenz-online.de/media/oh/20221205_oh_Telemedien_2021_Version_1_1_Vorlage_104_DSK_final.pdf">Guidelines by Supervisory Authorities for Tele-Media Providers</a>, DSK (2021).</p><p><sup>4</sup> <a href="https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX%3A62020TJ0557">Single Resolution Board v EDPS, Court of Justice of the European Union</a>, April 2023.</p> ]]></content:encoded>
            <category><![CDATA[Policy & Legal]]></category>
            <category><![CDATA[GDPR]]></category>
            <category><![CDATA[Data Privacy Day]]></category>
            <category><![CDATA[Europe]]></category>
            <guid isPermaLink="false">5v4YuiCRLtl4Mb7XqKhYgb</guid>
            <dc:creator>Emily Hancock</dc:creator>
        </item>
        <item>
            <title><![CDATA[Helping protect personal information in the cloud, all across the world]]></title>
            <link>https://blog.cloudflare.com/cloudflare-official-gdpr-code-of-conduct/</link>
            <pubDate>Thu, 30 Mar 2023 10:46:56 GMT</pubDate>
            <description><![CDATA[ Helping protect personal information in the cloud, all across the world ]]></description>
            <content:encoded><![CDATA[ <p></p>
            <figure>
            
            <img src="https://cf-assets.www.cloudflare.com/zkvhlag99gkb/4CLjGktaHTkh4wu7VLAQGz/1cec68335a9c9a90cb13a9cd1178bd57/image1-58.png" />
            
            </figure><p><i>Cloudflare has achieved a new EU Cloud Code of Conduct privacy validation, demonstrating GDPR compliance to strengthen trust in cloud services</i></p><p>Internet privacy laws around the globe differ, and in recent years there’s been much written about cross-border data transfers. Many regulations require adequate protections to be in place before personal information flows around the world, as with the European General Data Protection Regulation (GDPR). The law rightly sets a high bar for how organizations must carefully handle personal information, and in drafting the regulation lawmakers anticipated personal data crossing-borders: <a href="https://eur-lex.europa.eu/eli/reg/2016/679/oj#d1e4227-1-1">Chapter V</a> of the regulation covers those transfers specifically.</p><p>Whilst transparency on <i>where</i> personal information is stored is important, it’s also critically important <i>how</i> personal information is handled, and <i>how</i> it is kept safe and secure. At Cloudflare, we believe in <a href="/investing-in-security-to-protect-data-privacy/">protecting the privacy of personal information</a> across the world, and we give our customers <a href="/dls-2022/">the tools and the choice</a> on how and where to process their data. Put simply, we require that data is handled and protected in the same, secure, and careful way, whether our customers choose to transfer data across the world, or for it to remain in one country.</p><p>And today we are proud to announce that we have successfully completed our assessment journey and received the EU Cloud Code of Conduct compliance mark as a demonstration of our compliance with the GDPR, protecting personal data in the cloud, all across the world.</p>
    <div>
      <h2>It matters how personal information is handled – not just where in the world it is saved</h2>
      <a href="#it-matters-how-personal-information-is-handled-not-just-where-in-the-world-it-is-saved">
        
      </a>
    </div>
    <p>The same GDPR lawmakers also anticipated that organizations would want to handle and protect personal information in a consistent, transparent, and safe way too. Article 40, called ‘<i>Codes of Conduct</i>’ starts:</p><blockquote><p><i>“The Member States, the supervisory authorities, the Board and the Commission shall encourage the drawing up of codes of conduct intended to contribute to the proper application of this Regulation, taking account of the specific features of the various processing sectors and the specific needs of micro, small and medium-sized enterprises.”</i></p></blockquote><p>Using codes of conduct to demonstrate compliance with privacy law has a longer history, too. Like the GDPR, the pioneering 1995 EU Data Protection Directive, officially <a href="https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:31995L0046">Directive 95/46/EC</a>, also included provision for draft community codes to be submitted to national authorities, and for those codes to be formally approved by an official body of the European Union.</p>
    <div>
      <h2>An official GDPR Code of Conduct</h2>
      <a href="#an-official-gdpr-code-of-conduct">
        
      </a>
    </div>
    <p>It took a full five years after the GDPR was adopted in 2016 for the first code of conduct to be officially approved. Finally in May 2021, the European Data Protection Board, a group composed of representatives of all the national data protection authorities across the union, <a href="https://edpb.europa.eu/system/files/2021-05/edpb_opinion_202116_eucloudcode_en.pdf">approved</a> the “<i>EU Data Protection Code of Conduct for Cloud Service Providers</i>” – the EU Cloud Code of Conduct (or ‘EU Cloud CoC’ for short) as the first official GDPR code of conduct. The EU Cloud CoC was brought to the board by the Belgian supervisory authority on behalf of SCOPE Europe, the organization who collaborated to develop the code over a number of years, including with input from the European Commission, members of the cloud computing community, and European data protection authorities.</p><p>The code is a framework for buyers and providers of cloud services. Buyers can understand in a straightforward way how a provider of cloud services will handle personal information. Providers of cloud services undergo an independent assessment to demonstrate to the buyers of their cloud services that they will handle personal information in a safe and codified way. In the case of the EU Cloud CoC and <i>only because</i> the code has received formal approval, buyers of cloud services compliant with code will know that the cloud provider handled customer personal information in a way that is compliant with the GDPR.</p>
    <div>
      <h3>What the code covers</h3>
      <a href="#what-the-code-covers">
        
      </a>
    </div>
    <p>The code defines clear requirements for providers of cloud services to implement Article 28 of the GDPR (“Processor”) and related articles. The framework covers data protection policies, as well as technical and organizational security measures. There are sections covering providers' terms and conditions, confidentiality and recordkeeping, the audit rights of the customer, how to handle potential data breaches, and how the provider approaches subprocessing – when a third-party is subcontracted to process personal data alongside the main data processor – and more.</p><p>The framework also covers how personal data may be legitimately transferred internationally, although whilst the EU Cloud CoC covers ensuring this is done in a legally-compliant way, the code itself is not a ‘safeguard’ or a tool for third country transfers. A future update to the code may expand into that with an additional module, but as of March 2023 that is still under development.</p>
    <div>
      <h3>Let us do a deeper dive into some of the requirements of the EU Cloud CoC and how it can demonstrate compliance with the GDPR</h3>
      <a href="#let-us-do-a-deeper-dive-into-some-of-the-requirements-of-the-eu-cloud-coc-and-how-it-can-demonstrate-compliance-with-the-gdpr">
        
      </a>
    </div>
    <p><b><i>Example one</i></b>One requirement in the code is to have documented procedures in place to assist customers with their ‘data protection impact assessments’. According to the GDPR, these are:</p><blockquote><p><i>“...an assessment of the impact of the envisaged processing operationson the protection of personal data.” - Article 35.1, GDPR</i></p></blockquote><p>So a cloud service provider should have a written process in place to support customers as they undertake their own assessments. In supporting the customer, the service provider is demonstrating their commitment to the rigorous data protection standards of the GDPR too. Cloudflare meets this requirement, and further supports transparency by <a href="https://www.cloudflare.com/gdpr/subprocessors/">publishing details of sub-processors</a> used in the processing of personal data, and directing customers to <a href="https://developers.cloudflare.com/fundamentals/get-started/basic-tasks/access-compliance-docs/">audit reports available</a> in the Cloudflare dashboard.</p><p>There's also another reference in the GDPR to codes of conduct in the context of data protection impact assessments too:</p><blockquote><p>“<i>Compliance with approved codes of conduct… shall be taken into due account in assessing the impact of the processing operations performed… in particular for the purposes of a data protection impact assessment.</i>” - Article 35.8, GDPR</p></blockquote><p>So when preparing an impact assessment, a cloud customer shall take into account that a service provider complies with an approved code of conduct. Another way that both customers and cloud providers benefit from using codes of conduct!</p><p><b><i>Example two</i></b>Another example of a requirement of the code is that when cloud service providers provide encryption capabilities, they shall be implemented effectively. The requirement clarifies further that this should be undertaken by following strong and trusted encryption techniques, by taking into account the state-of-the-art, and by adequately preventing abusive access to customer personal data. Encryption is critical to protecting personal data in the cloud; without encryption, or with weakened or outdated encryption, privacy and security are not possible. So in using and reviewing encryption appropriately, cloud services providers help meet the requirements of the GDPR in protecting their customers’ personal data.</p><p>At Cloudflare, we are particularly proud of our <a href="/introducing-universal-ssl/">track</a> <a href="/introducing-universal-dnssec/">record</a>: we <a href="/esni/">make</a> <a href="/introducing-tls-1-3/">effective</a> <a href="/dns-encryption-explained/">encryption</a> <a href="/encrypted-client-hello/">available</a>, for free, to all our customers. We help our customers <a href="https://www.cloudflare.com/learning/ssl/what-is-encryption/">understand</a> <a href="https://www.cloudflare.com/learning/privacy/encryption-and-privacy/">encryption</a>, and most importantly, we use strong and trusted encryption algorithms and techniques ourselves to protect customer personal data. We have a formal <a href="https://research.cloudflare.com/">Research Team</a>, including academic researchers and cryptographers who <a href="/post-quantum-for-all/">design and deploy</a> <a href="https://www.cloudflare.com/insights-quantum-computing/">state-of-the-art encryption protocols</a> designed to provide effective protection against active and passive attacks, including with resources known to be available to public authorities; and we use trustworthy public-key certification authorities and infrastructure. Most recently this month, we <a href="/post-quantum-crypto-should-be-free/">announced that post-quantum crypto should be free</a>, and so we are including it for free, forever.</p><p><b><i>More information</i></b>The code contains requirements described in 87 statements, called controls. You can find more about the EU Cloud CoC, download a full copy of the code, and keep up to date with news at <a href="https://eucoc.cloud/en/home">https://eucoc.cloud/en/home</a></p>
    <div>
      <h2>Why this matters to Cloudflare customers</h2>
      <a href="#why-this-matters-to-cloudflare-customers">
        
      </a>
    </div>
    <p>Cloudflare joined the EU Cloud Code of Conduct’s General Assembly last May. Members of the General Assembly undertake an assessment journey which includes declaring named cloud services compliant with the EU Cloud Code, and after completing an independent assessment process by SCOPE Europe, the accredited monitoring body, receive the EU Cloud Code of Conduct compliance mark.</p><p>Cloudflare has completed the assessment process and been verified for 47 cloud services.</p>
    <div>
      <h3>Cloudflare services that are in scope for EU Cloud Code of Conduct:</h3>
      <a href="#cloudflare-services-that-are-in-scope-for-eu-cloud-code-of-conduct">
        
      </a>
    </div>
    
            <figure>
            
            <img src="https://cf-assets.www.cloudflare.com/zkvhlag99gkb/2jWc6aa32nenRMEBpIxakA/0136e17484e8122f9104c9efd878dc9f/Screenshot-2023-03-30-at-11.38.15.png" />
            
            </figure><p>EU Cloud CoC Verification-ID: 2023LVL02SCOPE4316.</p><p>Services are verified compliant with the EU Cloud Code of Conduct,Verification-ID: 2023LVL02SCOPE4316.For further information please visit <a href="https://eucoc.cloud/en/public-register">https://eucoc.cloud/en/public-register</a></p>
    <div>
      <h2>And we’re not done yet…</h2>
      <a href="#and-were-not-done-yet">
        
      </a>
    </div>
    <p>The EU Cloud Code of Conduct is the newest privacy validation to add to our growing list of privacy certifications. Two years ago, Cloudflare <a href="/iso-27701-privacy-certification/">was one of the first organisations</a> in our industry to have received the new ISO privacy certification, ISO/IEC 27701:2019, and the first Internet performance &amp; security company to be certified to it. Last year, Cloudflare <a href="/iso-27018-second-privacy-certification-and-c5/">certified to a second international privacy standard</a> related to the processing of personal data, ISO/IEC 27018:2019. Most recently, in January this year Cloudflare completed our annual ISO audit with third-party auditor Schellman; and our new certificate, covering ISO 27001:2013, ISO 27018:2019, and ISO 27701:2019 is now available for customers to <a href="https://support.cloudflare.com/hc/en-us/articles/4412661740941-Access-Compliance-Documentation">download from the Cloudflare dashboard</a>.</p><p>And there’s more to come! As we blogged about in <a href="/towards-a-global-framework-for-cross-border-data-flows-and-privacy-protection/">January for Data Privacy Day</a>, we’re following the progress of the emerging Global Cross Border Privacy Rules (CBPR) certification with interest. This proposed single global certification could suffice for participating companies to safely transfer personal data between participating countries worldwide, and having already been supported by several governments from North America and Asia, looks very promising in this regard.</p>
    <div>
      <h2>Cloudflare certifications</h2>
      <a href="#cloudflare-certifications">
        
      </a>
    </div>
    <p>Find out how existing customers may download a copy of Cloudflare’s certifications and reports from the <a href="https://developers.cloudflare.com/fundamentals/get-started/basic-tasks/access-compliance-docs/">Cloudflare dashboard</a>; new customers may also request these from your sales representative.</p><p>For the latest information about our certifications and reports, please visit <a href="https://www.cloudflare.com/trust-hub/compliance-resources/">our Trust Hub</a>.</p> ]]></content:encoded>
            <category><![CDATA[Privacy]]></category>
            <category><![CDATA[Certification]]></category>
            <category><![CDATA[Compliance]]></category>
            <category><![CDATA[GDPR]]></category>
            <category><![CDATA[Security]]></category>
            <guid isPermaLink="false">1K8KnhvhOJh8LItVXjnbnK</guid>
            <dc:creator>Rory Malone</dc:creator>
        </item>
        <item>
            <title><![CDATA[Cloudflare achieves key cloud computing certifications — and there’s more to come]]></title>
            <link>https://blog.cloudflare.com/iso-27018-second-privacy-certification-and-c5/</link>
            <pubDate>Mon, 23 May 2022 06:59:57 GMT</pubDate>
            <description><![CDATA[ Cloudflare now has a second major international privacy certification, as well as C5 attestation — and we’re not done yet. ]]></description>
            <content:encoded><![CDATA[ <p></p><p>Back in the early days of the Internet, you could physically see the hardware where your data was stored. You knew where your data was and what kind of locks and security protections you had in place. Fast-forward a few decades, and data is all “in the cloud”. Now, you have to trust that your cloud services provider is putting security precautions in place just as you would have if your data was still sitting on your hardware. The good news is, you don’t have to merely trust your provider anymore. There are a number of ways a cloud services provider can prove it has robust privacy and security protections in place.</p><p>Today, we are excited to announce that Cloudflare has taken three major steps forward in proving the security and privacy protections we provide to customers of our cloud services: we achieved a key cloud services certification, ISO/IEC 27018:2019; we completed our independent audit and received our <i>Cloud Computing Compliance Criteria Catalog</i> (“C5”) attestation; and we have joined the EU Cloud Code of Conduct General Assembly to help increase the impact of the trusted cloud ecosystem and encourage more organizations to adopt GDPR-compliant cloud services.</p><p>Cloudflare has been committed to data privacy and security since our founding, and it is important to us that we can demonstrate these commitments. Certification provides assurance to our customers that a third party has independently verified that Cloudflare meets the requirements set out in the standard.</p>
    <div>
      <h3>ISO/IEC 27018:2019 - Cloud Services Certification</h3>
      <a href="#iso-iec-27018-2019-cloud-services-certification">
        
      </a>
    </div>
    <p>2022 has been a big year for people who like the number ‘two’. February marked the second when the 22nd Feb 2022 20:22:02 passed: the second second of the twenty-second minute of the twentieth hour of the twenty-second day of the second month, of the year twenty-twenty-two! As well as the date being a palindrome — something that reads the same forwards and backwards — on an vintage ‘80s LCD clock, the date and time could be written as an ambigram too — something that can be read upside down as well as the right way up:</p>
            <figure>
            
            <img src="https://cf-assets.www.cloudflare.com/zkvhlag99gkb/ydaKkhuLuQSxB01PuW3nX/31ea35337e0dd78b20aefe9abd6db3ef/image3-38.png" />
            
            </figure><p>When we hit 2022 02 22, our team was busy completing our second annual audit to certify to ISO/IEC 27701:2019, having been one of the first organizations in our industry to have achieved this <a href="/iso-27701-privacy-certification/">new ISO privacy certification</a> in 2021, and the first Internet performance &amp; security company to be certified to it. And now Cloudflare has now been certified to a second international privacy standard related to the processing of personal data — ISO/IEC 27018:2019.<sup>1</sup></p><p>ISO 27018 is a privacy extension to the widespread industry standards ISO/IEC 27001 and ISO/IEC 27002, which describe how to establish and run an Information Security Management System. ISO 27018 extends the standards into a code of practice for <a href="https://www.cloudflare.com/learning/security/what-is-information-security/">how any personal information should be protected</a> when processed in a public cloud, such as Cloudflare’s.</p><p><i>What does ISO 27018 mean for Cloudflare customers?</i></p><p>Put simply, with Cloudflare’s certifications to both ISO 27701 and ISO 27018, customers can be assured that Cloudflare both has a privacy program that meets GDPR-aligned industry standards and also that Cloudflare protects the personal data processed in our network as part of that privacy program.</p><p>These certifications, in addition to the <a href="https://www.cloudflare.com/cloudflare-customer-dpa/">Data Processing Addendum</a> (“DPA”) we make available to our customers, offer our customers multiple layers of assurance that any personal data that Cloudflare processes on their behalf will be handled in a way that meets the GDPR’s requirements.</p><p>The ISO 27018 standard contains enhancements to existing ISO 27002 controls and an additional set of 25 controls identified for organizations that are personal data processors. Controls are essentially a set of best practices that processors must meet in terms of data handling practices and transparency about those practices, protecting and encrypting the personal data processed, and handling data subject rights, among others. As an example, one of the ISO 27018 requirements is:</p><blockquote><p>Where the organization is contracted to process personal data, that personal data may not be used for the purpose of marketing and advertising without establishing that prior consent was obtained from the appropriate data subject. Such consent shall not be a condition for receiving the service.</p></blockquote><p>When Cloudflare acts as a data processor for our customers’ data, that data (and any personal data it may contain) belongs to our customers, not to us. Cloudflare does not track our customers’ end users for marketing or advertising purposes, and we never will. We even went beyond what the ISO control required and added this commitment to our customer DPA:</p><blockquote><p>“... Cloudflare shall not use the Personal Data for the purposes of marketing or advertising…”- 3.1(b), Cloudflare Data Processing Addendum</p></blockquote><p><i>Cloudflare achieves ISO 27018:2019 Certification</i></p><p>For ISO 27018, Cloudflare was assessed by a third-party auditor, Schellman, between December 2021 and February 2022. Certifying to an ISO privacy standard is a multi-step process that includes an internal and an external audit, before finally being certified against the standard by the independent auditor. Cloudflare’s new single joint certificate, covering ISO 27001:2013, ISO 27018:2019, and ISO 27701:2019 is now available to download from the <a href="https://support.cloudflare.com/hc/en-us/articles/4412661740941-Access-Compliance-Documentation">Cloudflare Dashboard</a>.</p>
            <figure>
            
            <img src="https://cf-assets.www.cloudflare.com/zkvhlag99gkb/6zLfSmaUz5kwF372DJ4cCw/a165c386d9e27b23126fc636924e33bf/image2-52.png" />
            
            </figure>
    <div>
      <h3>C5:2020 – Cloud Computing Compliance Criteria Catalog</h3>
      <a href="#c5-2020-cloud-computing-compliance-criteria-catalog">
        
      </a>
    </div>
    <p>ISO 27018 isn’t all we’re announcing: as we <a href="/bsig-audit-and-beyond/">blogged in February</a>, Cloudflare has also been undergoing a separate independent audit for the <i>Cloud Computing Compliance Criteria Catalog</i> certification — also known as C5 — which was introduced by the German government’s <a href="https://www.bsi.bund.de/">Federal Office for Information Security</a> (“BSI”) in 2016 and updated in 2020. C5 evaluates an organization’s security program against a standard of robust cloud security controls. Both German government agencies and private companies place a high level of importance on aligning their cloud computing requirements with these standards. Learn more about C5 <a href="https://www.bsi.bund.de/EN/Topics/CloudComputing/Compliance_Criteria_Catalogue/Compliance_Criteria_Catalogue_node.html">here</a>.</p><p>Today, we’re excited to announce that we have completed our independent audit and received our C5 attestation from our third-party auditors. The C5 attestation report is now available  to download from the <a href="https://support.cloudflare.com/hc/en-us/articles/4412661740941-Access-Compliance-Documentation">Cloudflare Dashboard</a>.</p>
    <div>
      <h3>And we’re not done yet…</h3>
      <a href="#and-were-not-done-yet">
        
      </a>
    </div>
    <p>When the European Union’s benchmark-setting General Data Protection Regulation (“GDPR”) was adopted four years ago this week, Article 40 encouraged:</p><blockquote><p>“...the drawing up of codes of conduct intended to contribute to the proper application of this Regulation, taking account of the specific features of the various processing sectors and the specific needs of micro, small and medium-sized enterprises.”</p></blockquote><p>The first code officially approved as GDPR-compliant by the EU one year ago this past weekend is ‘<i>The EU Cloud Code of Conduct’</i>. This code is designed to help cloud service providers demonstrate the protections they provide for the personal data they process on behalf of their customers. It covers all cloud service layers, and its compliance is overseen by accredited monitoring body <a href="https://scope-europe.eu/en/home">SCOPE Europe</a>. Initially, cloud service providers join as members of the code’s General Assembly, and then the second step is to undergo an audit to validate their adherence to the code.</p><p>Today, we are pleased to announce today that Cloudflare has joined the General Assembly of the EU Cloud Code of Conduct. We look forward to the second stage in this process, undertaking our audit and publicly affirming our compliance to the GDPR as a processor of personal data.</p>
    <div>
      <h3>Cloudflare Certifications</h3>
      <a href="#cloudflare-certifications">
        
      </a>
    </div>
    <p>Customers may now download a copy of Cloudflare’s certifications and reports from the <a href="https://support.cloudflare.com/hc/en-us/articles/4412661740941-Access-Compliance-Documentation">Cloudflare Dashboard</a>; new customers may request these from your sales representative. For the latest information about our certifications and reports, please visit <a href="https://www.cloudflare.com/trust-hub">our</a> <a href="https://www.cloudflare.com/trust-hub/compliance-resources/">Trust Hub</a>.</p><p>...</p><p><sup>1</sup>The International Organization for Standardization (“ISO”) is an international, nongovernmental organization made up of national standards bodies that develops and publishes a wide range of proprietary, industrial, and commercial standards.</p> ]]></content:encoded>
            <category><![CDATA[Privacy]]></category>
            <category><![CDATA[Certification]]></category>
            <category><![CDATA[Compliance]]></category>
            <category><![CDATA[GDPR]]></category>
            <category><![CDATA[Security]]></category>
            <guid isPermaLink="false">kqAJ0iyNw4RHzA6hfdxAj</guid>
            <dc:creator>Rory Malone</dc:creator>
        </item>
        <item>
            <title><![CDATA[Cloudflare obtains new ISO/IEC 27701:2019 privacy certification and what that means for you]]></title>
            <link>https://blog.cloudflare.com/iso-27701-privacy-certification/</link>
            <pubDate>Wed, 21 Apr 2021 13:00:00 GMT</pubDate>
            <description><![CDATA[ Cloudflare is one of the first organisations in our industry to have achieved ISO/IEC 27701:2019 certification, and the first web performance & security company to be certified to the new ISO privacy standard as both a data processor and controller. ]]></description>
            <content:encoded><![CDATA[ <p></p><p><i>Cloudflare is one of the first organizations in our industry to have achieved ISO/IEC 27701:2019 certification, and the first web performance &amp; security company to be certified to the new ISO privacy standard as both a data processor and controller.</i></p><p>Providing transparency into our privacy practices has always been a priority for us. We think it is important that we do more than talk about our commitment to privacy — we are continually looking for ways to demonstrate that commitment. For example, after we launched the Internet's <a href="https://www.dnsperf.com/#!dns-resolvers">fastest</a>, privacy-first public DNS resolver, 1.1.1.1, we didn’t just publish our commitments to our public resolver users, we engaged an independent firm to make sure we were meeting our commitments, and we blogged about it, publishing <a href="https://www.cloudflare.com/compliance/">their report</a>.</p>
            <figure>
            
            <img src="https://cf-assets.www.cloudflare.com/zkvhlag99gkb/3FlwTPYxCLY4MaxDc4Z3LO/06eadd15c0e93acce0cd9ee2c804dca6/image1-32.png" />
            
            </figure><p>Following in that tradition, today we’re excited to announce that Cloudflare has been certified to a new international privacy standard for protecting and managing the processing of personal data — ISO/IEC 27701:2019. The standard is designed such that the requirements organizations must meet to become certified are very closely aligned to the requirements in the EU’s General Data Protection Regulation (“GDPR”). So this certification provides assurance to our customers that a third party has independently verified that Cloudflare’s privacy program meets GDPR-aligned industry standards.</p>
    <div>
      <h3>What is ISO/IEC 27701:2019?</h3>
      <a href="#what-is-iso-iec-27701-2019">
        
      </a>
    </div>
    <p>The International Organization for Standardization (“ISO”) is an international, nongovernmental organization made up of national standards bodies that develops and publishes a wide range of proprietary, industrial, and commercial standards. In August 2019, ISO published <a href="https://www.iso.org/standard/71670.html">ISO/IEC 27701:2019</a> (“ISO 27701”), a new international privacy standard about protecting and managing the processing of personal data.</p><p>This new standard is a privacy extension to the existing and widespread industry standards ISO/IEC 27001 and ISO/IEC 27002, which were first published by ISO in 2005. They describe how to establish and run an Information Security Management System (“ISMS”), and <a href="https://www.iso.org/the-iso-survey.html">ISO now reports</a> that over 36,000 organizations in 131 countries are currently independently certified as meeting ISO/IEC 27001. Audited ISO certifications are awarded to organizations that have been assessed by an independent, external auditor to meet a specific, published standard. Auditors are also accredited themselves — with the ISO 27000 series of certifications, to published international ISO standards, too.</p><p>The ISO 27701 extension to the ISO/IEC 27001 and ISO/IEC 27002 standards is less than two years old and adapts the ISMS management system concept into the creation of a Privacy Information Management System (“PIMS”). There are requirements to make sure this privacy management system is robust and is also continually improving to meet its defined objectives.</p><p>We are excited about this new certification because ISO 27701 maps to the requirements of the GDPR, the EU’s benchmark-setting, comprehensive data protection regulation. Article 42 of the GDPR encourages:</p><blockquote><p><i>...the establishment of data protection certification mechanisms and of data protection seals and marks, for the purpose of demonstrating compliance with this Regulation of processing operations by controllers and processors.</i></p></blockquote><p>While Article 42 calls for the development of GDPR certifications, no such official certifications exist yet because none have been approved by either of the official bodies — the European Data Protection Board in the EU, or the UK’s Information Commissioner’s Office in respect of the UK GDPR. However, when the ISO 27701 standard was published, it contained an Annex D detailing how the standard maps to the GDPR:</p><blockquote><p><i>This annex gives an indicative mapping between provisions of this document and Articles 5 to 49 except 43 of the General Data Protection Regulation of the European Union. It shows how compliance to requirements and controls of this document can be relevant to fulfil obligations of GDPR.</i></p></blockquote><p>ISO standards often map to — and frequently reference — other international ISO standards, but it’s unusual for them to map to non-ISO standards, especially to one particular region’s regulations. So until the GDPR regulatory bodies adopt an official certification mechanism, ISO 27701 provides an excellent way to demonstrate externally-audited compliance with the regulation.</p>
    <div>
      <h3>What does ISO 27701 mean to Cloudflare customers?</h3>
      <a href="#what-does-iso-27701-mean-to-cloudflare-customers">
        
      </a>
    </div>
    <p>Put simply, the ISO 27701 certification provides assurance to our customers that we have a privacy program that has been assessed by a third party to meet an international industry standard aligned to the GDPR, and that requires us to keep our privacy program under continuous compliance. This certification, in addition to the <a href="https://www.cloudflare.com/resources/assets/slt3lc6tev37/1M1j5uuFDuLTYiZJJDPBag/bda8d591447971b3df2bccf5aa4e0916/Customer_DPA_v.3_1_-_en_1_Oct_2020.pdf">Data Processing Addendum</a> (“DPA”) we make available to our customers in the dashboard, offers our customers multiple layers of assurance that any personal data that Cloudflare processes will be handled in a way that meets the GDPR’s requirements.</p><p><i>Let us do a deeper dive into some of the requirements under ISO 27701</i>The standard contains 31 controls identified for organizations that are personal data controllers, and 18 additional controls identified for organizations that are personal data processors. As Cloudflare’s scope is certifying as both a personal data controller and as a personal data processor of customer information, we had to meet all 49 of these controls.</p><p>The controls are essentially a set of best practices that data controllers and processors must meet in terms of data handling practices and transparency about those practices, documenting a legal basis for processing and for transfer of data to third countries (outside the EU), and handling data subject rights, among others.</p><blockquote><p>Example Requirement 1:<i>Organizations should maintain policy and document specific procedures related to the international transfer of personal data.</i></p></blockquote><p>Cloudflare has implemented this requirement by maintaining an internal policy restricting the transfer of personal data between jurisdictions unless that transfer meets defined criteria. Customers, whether free or paid, enter into a standard Data Processing Addendum with Cloudflare which is available on the <a href="https://dash.cloudflare.com/login">Cloudflare Customer Dashboard</a> and which sets out the restrictions we must adhere to when processing personal data on behalf of customers, including when transferring personal data between jurisdictions. Additionally, Cloudflare publishes <a href="https://www.cloudflare.com/gdpr/subprocessors/">a list of sub-processors</a> that we may use when processing personal data, and in which countries or jurisdictions that processing may take place.</p><blockquote><p>Example Requirement 2:<i>Organizations should maintain documented personal data minimization objectives, including what mechanisms are used to meet those objectives.</i></p></blockquote><p>Cloudflare maintains internal policies on how we manage data throughout its full lifecycle, including data minimization objectives. In fact, our commitment to privacy starts with the objective of minimizing personal data. That’s why, if we don’t have to collect certain personal data in order to deliver our service to customers, we’d prefer not to collect it at all in the first place. Where we do have to, we collect the minimum amount necessary to achieve the identified purpose and process it for the minimum amount necessary, transparently documenting the processing in our public <a href="https://www.cloudflare.com/privacypolicy/">privacy policy</a>.</p><p>We’re also proud to have developed a Privacy by Design policy, which rigorously sets out the high-standards and evaluations that must be undertaken if products and services are to collect and process personal data. We use these mechanisms to ensure our collection and use of personal data is limited and <a href="https://www.cloudflare.com/gdpr/introduction/">transparently documented</a>.</p>
    <div>
      <h3>Cloudflare achieves ISO 27701:2019 Certification</h3>
      <a href="#cloudflare-achieves-iso-27701-2019-certification">
        
      </a>
    </div>
    <p>Cloudflare’s PIMS was assessed by a third-party auditor, A-LIGN in March 2021. Certifying to the ISO 27701 privacy standard is a multi-step process that includes:</p><ul><li><p>understanding and planning for the standard;</p></li><li><p>identifying and adapting the controls the organisation will implement;</p></li><li><p>internally auditing against the requirements;  and</p></li><li><p>externally auditing against the standard (itself a two-stage process)</p></li></ul><p>before finally being certified against the standard by the independent auditor. Once certified, the privacy management system is continually evaluated and improved, with internal and external audits on an ongoing annual basis.</p><p>Cloudflare has been certified as both a data processor and as a data controller of customer information.[¹] This means that Cloudflare is one of the first organisations in our industry to have achieved this standard, and the first web performance &amp; security company to be certified to ISO 27701 as both a data controller and processor. Alongside Cloudflare’s existing ISO 27001:2013 certificate, Cloudflare’s new ISO 27701:2019 certificate is now available for customers to request from their sales representative.</p>
    <div>
      <h3>Cloudflare Certifications</h3>
      <a href="#cloudflare-certifications">
        
      </a>
    </div>
    <p>For more information about our certifications and reports, please visit our privacy and compliance pages — <a href="http://www.cloudflare.com/compliance">www.cloudflare.com/compliance</a>. You can also reach us at <a>compliance@cloudflare.com</a> for any questions.</p>
    <div>
      <h3>Watch on Cloudflare TV</h3>
      <a href="#watch-on-cloudflare-tv">
        
      </a>
    </div>
    <div></div><hr /><p>[1]The GDPR defines a “data controller” as the “natural or legal person . . . or other body which, alone or jointly with others, determines the purposes and means of the processing of personal data”; and a “data processor” as “a natural or legal person . . . which processes personal data on behalf of the controller.”</p> ]]></content:encoded>
            <category><![CDATA[Certification]]></category>
            <category><![CDATA[Privacy]]></category>
            <category><![CDATA[Compliance]]></category>
            <category><![CDATA[GDPR]]></category>
            <category><![CDATA[Security]]></category>
            <guid isPermaLink="false">4S1OVCOuwAARsUz5utLbFB</guid>
            <dc:creator>Rory Malone</dc:creator>
            <dc:creator>Emily Hancock</dc:creator>
        </item>
        <item>
            <title><![CDATA[Identifying and alerting on data loss using Cloudflare Workers]]></title>
            <link>https://blog.cloudflare.com/identifying-and-alerting-on-data-loss-using-workers/</link>
            <pubDate>Thu, 30 Aug 2018 17:50:00 GMT</pubDate>
            <description><![CDATA[ Becoming aware and identifying data breaches as they happen, however, is not an easy task. It is often challenging for companies to become aware of their own data breaches and losses. Workers allow you to identify and get alerted on data breaches as they occur. ]]></description>
            <content:encoded><![CDATA[ <p></p><p>Photo by <a href="https://unsplash.com/@markusspiske?utm_source=ghost&amp;utm_medium=referral&amp;utm_campaign=api-credit">Markus Spiske</a> / <a href="https://unsplash.com/?utm_source=ghost&amp;utm_medium=referral&amp;utm_campaign=api-credit">Unsplash</a></p><p>You hear about data breaches almost every day in the news these days. New regulations, such as GDPR, require companies to disclose data breaches within 72 hours of becoming aware. Becoming aware of and identifying data breaches as they happen, however, is not an easy task. It is often challenging for companies to become aware of their own data breaches and losses well-before they get picked up by the media.</p><p>One symptom of a data breach is data (such as passwords or PII) that should never leave internal systems making its way through an HTTP response into the public Internet. Since Cloudflare Workers sits between your infrastructure and the public for any endpoints exposed to the Internet, Workers can be used as a way of alerting you of canary data leaving.</p><p>In the following example, we will be inspecting the content of each response, checking to see if our canary data has leaked out, and if so, returning a static response and calling the PagerDuty API to notify of a potential breach.</p>
    <div>
      <h3>Detecting Data Loss</h3>
      <a href="#detecting-data-loss">
        
      </a>
    </div>
    <p>In this example, we’ll be looking for a particular string in the body of the response. This string can be canary data in your database (in our example, the secret is “SHHHTHISISASECRET”, and we are matching on a very specific string).</p><p>To get the body of the content, we use<code>javascript let body = await response.text()</code>This pulls the body of the response into the body variable. Note, that since this method consumes the body of the response, we will have to construct a new Response object prior to returning it. If you are expecting JSON, you may also call <code>response.json()</code>. Since we cannot read the body of images and other non-text formats, we check the Content-Type of the response prior to trying to parse the body.</p>
            <pre><code> if(response.headers.get('Content-Type').includes('text')){
     let body = await response.text()
     if(body.includes('SHHHTHISISASECRET')) {
       response = new Response('Blocked.', {status: 403, headers: new Headers({'Private-block': true})})
       return response
     }
     return new Response(body, {status: response.status, headers: response.headers})
   }</code></pre>
            <p>By default, Workers will stream responses back to the client to help improve performance and TTFB. It is worthwhile noting that reading the body of the response in the Worker means that the response will not be streamed (as we must wait on the read to complete to identify the presence of this string in the body)</p>
    <div>
      <h3>Returning a response to the client</h3>
      <a href="#returning-a-response-to-the-client">
        
      </a>
    </div>
    
    <div>
      <h4>Static block</h4>
      <a href="#static-block">
        
      </a>
    </div>
    <p>In the example, we create a static response:</p>
            <pre><code>response = new Response('&lt;html&gt;&lt;h1&gt;Blocked.&lt;/h1&gt;&lt;/html&gt;', {status: 403, headers: new Headers({'Content-Type': 'text/html'})})</code></pre>
            <p>To make sure that the browser can parse and display it properly, we also add the Content-Type header with the value “text/html”. Assuming the origin responded with something it should not have responded with, we will replace the response headers so as not to reflect back any additional information.</p>
    <div>
      <h4>Rate limiting the response</h4>
      <a href="#rate-limiting-the-response">
        
      </a>
    </div>
    <p>In the example above, we are looking for a string that clearly should never be leaked. However, in some cases, it may be possible that you are looking to detect data that is valid for your application to respond with, but you still want to rate limit the number of times it is being accessed.</p><p>Cloudflare Rate Limiting allows you to create Rate Limiting rules based on response headers and response status codes.</p><p>By defining the rule below, and setting the X-Rate-Limiting response header to true, we can make sure each IP can only access this data once per minute:</p>
            <figure>
            
            <img src="https://cf-assets.www.cloudflare.com/zkvhlag99gkb/2rYW1xkLXxYYReGbmdfira/73715ef5ab78be1ce681997bba82c004/Screen-Shot-2018-08-27-at-11.25.48-AM.png" />
            
            </figure><p>Adding the header in the Worker:</p>
            <pre><code>response = new Response(body, {status: response.status, headers: new Headers({'X-Rate-Limiting': true}})</code></pre>
            
    <div>
      <h3>Triggering PagerDuty</h3>
      <a href="#triggering-pagerduty">
        
      </a>
    </div>
    <p>As our method of alerting on these incidents, we’ll be making an API call to PagerDuty.</p><p>To start, you will have to set up a Service to receive alerts and incidents on. In the Integration setting, make sure you select the API since that will allow us to make HTTP requests directly from the Worker.</p><p>You will additionally need to set up an API key (under Configuration → API Access) to allow the Worker to create Incident events and trigger alerts.</p><p>When making the API call, we will use event.waitUntil(). This serves two purposes:We don’t necessarily want to block the response that is returned to the client, and make it wait until we complete the request to PagerDuty (this is important for the performance of critical tasks).Outstanding asynchronous tasks are canceled as soon as a worker finishes sending its main response body back to the client. event.waitUntil() helps ensure that the call the PagerDuty is complete even after the response is sent to the client.</p>
            <pre><code>async function createPagerDutyIncident(event) {
 let body = `{
     "incident": {
         "type": "incident",
         "title": "Potential data breach",
         "service": {
           "id": "${PD_SERVICE_ID}",
           "type": "service_reference"
         },
       }
   }`

 let PDInit = {
   method: 'POST',
   headers: new Headers({
     "Content-Type": "application/json",
     "Accept": "application/vnd.pagerduty+json;version=2",
     "From": `${PD_FROM}`,
     "Authorization": `Token token=${PD_API_KEY}`
   }),
   body: body
 }
 event.waitUntil(fetch('https://api.pagerduty.com/incidents', PDInit))

}</code></pre>
            
    <div>
      <h3>The Complete Worker</h3>
      <a href="#the-complete-worker">
        
      </a>
    </div>
    
            <pre><code>const PD_API_KEY = 'key'
const PD_FROM = 'email@gmail.com'
const PD_SERVICE_ID = 'ID'

addEventListener('fetch', event =&gt; {
 let response = handleRequest(event)
 event.respondWith(response)
})

/**
* Find canary data in the response
* @param {Request} request
*/
async function handleRequest(event) {
 try{
   let request = event.request
   let response = await fetch(request)
   // Only check when content type contains "text"
   if(response.headers.get('Content-Type').includes('text')){
     let body = await response.text()
     if(body.includes('SHHHTHISISASECRET')) {
       response = new Response('&lt;html&gt;&lt;h1&gt;Blocked.&lt;/h1&gt;&lt;/html&gt;', {status: 403, headers: new Headers({'Content-Type': 'text/html'})})
       createPagerDutyIncident(event)
       return response
     }
     return new Response(body, {status: response.status, headers: response.headers})
   }
   else {
     return response
   }
 }
 catch (e) {
   console.log(e)
 }
}

async function createPagerDutyIncident(event) {
 let body = `{
     "incident": {
         "type": "incident",
         "title": "Potential data breach",
         "service": {
           "id": "${PD_SERVICE_ID}",
           "type": "service_reference"
         },
       }
   }`

 let PDInit = {
   method: 'POST',
   headers: new Headers({
     "Content-Type": "application/json",
     "Accept": "application/vnd.pagerduty+json;version=2",
     "From": `${PD_FROM}`,
     "Authorization": `Token token=${PD_API_KEY}`
   }),
   body: body
 }
 event.waitUntil(fetch('https://api.pagerduty.com/incidents', PDInit))

}</code></pre>
            
    <div>
      <h3>Conclusion</h3>
      <a href="#conclusion">
        
      </a>
    </div>
    <p>Cloudflare Workers give you full control over each request and response that flows through Cloudflare. Being able to inspect the body of the response means that you can identify, alert and modify content sent back by your origin, and thus use Workers for things such as data loss prevention.</p><p>You can check out more uses and recipes for Workers <a href="https://developers.cloudflare.com/workers/recipes/">here</a>.</p><p>As always, we would love to hear what you are doing with Workers.</p> ]]></content:encoded>
            <category><![CDATA[Serverless]]></category>
            <category><![CDATA[GDPR]]></category>
            <category><![CDATA[Policy & Legal]]></category>
            <category><![CDATA[Cloudflare Workers]]></category>
            <category><![CDATA[Programming]]></category>
            <category><![CDATA[JavaScript]]></category>
            <category><![CDATA[Developer Platform]]></category>
            <category><![CDATA[Developers]]></category>
            <guid isPermaLink="false">5xA3zrQdQl87PVnF7Gbp7y</guid>
            <dc:creator>Rita Kozlov</dc:creator>
        </item>
        <item>
            <title><![CDATA[Sharing more Details, not more Data: Our new Privacy Policy and Data Protection Plans]]></title>
            <link>https://blog.cloudflare.com/more-details-not-more-data/</link>
            <pubDate>Wed, 02 May 2018 16:00:00 GMT</pubDate>
            <description><![CDATA[ I’m excited to announce that today we are launching a new Privacy Policy. Our new policy explains the kind of information we collect, from whom we collect it, and how we use it in a more transparent way.  ]]></description>
            <content:encoded><![CDATA[ <p>After an exhilarating first month as Cloudflare’s first Data Protection Officer (DPO), I’m excited to announce that today we are launching a new Privacy Policy. Our new policy explains the kind of information we collect, from whom we collect it, and how we use it in a more transparent way. We also provide clearer instructions for how you, our users, can exercise your data subject rights. Importantly, nothing in our privacy policy changes the level of privacy protection for your information.</p><p>Our new policy is a key milestone in our GDPR readiness journey, and it goes into effect on May 25 — the same day as the GDPR. (You can learn more about the European Union’s General Data Protection Regulation <a href="/advancing-privacy-protection-with-the-gdpr/">here</a>.) But our GDPR journey doesn’t end on May 25.</p><p>Over the coming months, we’ll be following GDPR-related developments, providing you periodic updates about what we learn, and adapting our approach as needed. And I’ll continue to focus on GDPR compliance efforts, including coordinating our responses to data subject requests for information about how their data is being handled, evaluating the privacy impact of new products and services on our users’ personal data, and working with customers who want to <a href="/keeping-your-gdpr-resolutions/">sign a data protection addendum</a> with us to help with their own GDPR compliance efforts.</p>
            <figure>
            
            <img src="https://cf-assets.www.cloudflare.com/zkvhlag99gkb/2ipQ1ra4Rs5s1fxONn6ceX/c5ac25188345f2b32838e0642d1b7e66/Screen-Shot-2018-04-27-at-3.17.49-PM.png" />
            
            </figure><p>Image courtesy of <a href="https://pixabay.com/en/europe-united-europe-flag-united-2021308/">pixabay</a></p><p>We also know there’s a bigger world out there than just the EU. So not only are we implementing GDPR-required measures to our global network to provide a level playing field for all, we are also evaluating and incorporating other jurisdictions’ data protection requirements as needed. This commitment to privacy is core to our mission to help build a better Internet.</p>
    <div>
      <h3>Being a DPO isn’t just about the GDPR</h3>
      <a href="#being-a-dpo-isnt-just-about-the-gdpr">
        
      </a>
    </div>
    <p>As DPO, I’ll be working with Cloudflare’s leadership to fulfill our commitment to privacy by continuing to invest in privacy protections and solutions for our users. This will include working with the business teams to evaluate the privacy impact of new products and services on our users’ personal information, develop tools to help our customers protect the privacy of their website traffic, and innovate solutions — like the DNS resolver 1.1.1.1. — that make the Internet faster and more private for anyone.</p><p>I’ll also be advising our business, engineering, marketing, sales, support, operations, and other teams on global privacy law requirements and working with our Public Policy team to understand the impact legislative or regulatory proposals may have on the privacy and security of our users’ data.</p>
            <figure>
            
            <img src="https://cf-assets.www.cloudflare.com/zkvhlag99gkb/7GMctxtuBsblZL2GVJfmUc/e1645e5837f65c4969f866f031b1908e/37845654022_7c027817b0_k.jpg" />
            
            </figure><p><a href="https://creativecommons.org/licenses/by/2.0/">CC BY 2.0</a> <a href="https://www.flickr.com/photos/159124985@N05/37845654022">image</a> by <a href="https://www.flickr.com/photos/159124985@N05/">jane.boyko</a></p><p>I am thrilled to be part of the talented and dedicated Cloudflare team, and I look forward to working with this ever-expanding Cloudflare community. Have a privacy question or concern? You can reach me at <a>privacyquestions@cloudflare.com</a>.</p><p>P.S. We are committed to communicating transparently on our data protection journey, so we are posting our Privacy Policy on Github. In the event we need to update our Privacy Policy again, you’ll be able to track our changes.</p>
    <div>
      <h3>Watch on Cloudflare TV</h3>
      <a href="#watch-on-cloudflare-tv">
        
      </a>
    </div>
    <div></div> ]]></content:encoded>
            <category><![CDATA[Policy & Legal]]></category>
            <category><![CDATA[GDPR]]></category>
            <category><![CDATA[Privacy]]></category>
            <guid isPermaLink="false">19lKTpDADhrjdE1d2GttyL</guid>
            <dc:creator>Emily Hancock</dc:creator>
        </item>
        <item>
            <title><![CDATA[Keeping your GDPR Resolutions]]></title>
            <link>https://blog.cloudflare.com/keeping-your-gdpr-resolutions/</link>
            <pubDate>Fri, 05 Jan 2018 20:04:05 GMT</pubDate>
            <description><![CDATA[ For many of us, a New Year brings a renewed commitment to eat better, exercise regularly, and read more (especially the Cloudflare blog). But as we enter 2018, there is a unique and significant new commitment approaching. ]]></description>
            <content:encoded><![CDATA[ <p>For many of us, a New Year brings a renewed commitment to eat better, exercise regularly, and read more (especially the Cloudflare blog). But as we enter 2018, there is a unique and significant new commitment approaching -- protecting personal data and complying with the European Union’s (EU) General Data Protection Regulation (GDPR).</p><p>As many of you know by now, the GDPR is a sweeping new EU law that comes into effect on May 25, 2018. The GDPR harmonizes data privacy laws across the EU and mandates how companies collect, store, delete, modify and otherwise process personal data of EU citizens.</p><p>Since our founding, Cloudflare has believed that the protection of our customers’ and their end users’ data is essential to our mission to help build a better internet.</p>
            <figure>
            
            <img src="https://cf-assets.www.cloudflare.com/zkvhlag99gkb/6MrpL303n7UEGuWhnGTaXv/dbcd4dcd1fd7e6b9369b84ed4827e189/europe-1395916_1920.jpg" />
            
            </figure><p><a href="https://pixabay.com/p-1395916/?no_redirect">Image</a> by <a href="https://pixabay.com/en/users/GregMontani-1014946/">GregMontani</a> via <a href="https://commons.wikimedia.org/wiki/File:European_flag_in_Karlskrona_2011.jpg">Wikimedia Commons</a></p>
    <div>
      <h3>Need a Data Processing Agreement?</h3>
      <a href="#need-a-data-processing-agreement">
        
      </a>
    </div>
    <p>As we explained in a <a href="/advancing-privacy-protection-with-the-gdpr/">previous blog post</a> last August, Cloudflare has been working hard to achieve GDPR compliance in advance of the effective date, and is committed to help our customers and their partners prepare for GDPR compliance on their side. We understand that compliance with a new set of privacy laws can be challenging, and we are here to help with your GDPR compliance requirements.</p><p>First, we are committed to making sure Cloudflare’s services are GDPR compliant and will continue to monitor new guidance on best practices even after the May 25th, 2018 effective date. We have taken these new requirements to heart and made changes to our products, contracts and policies.</p><p>And second, we have made it easy for you to comply with your own obligations. If you are a Cloudflare customer and have determined that you qualify as a data controller under the GDPR, you may need a data processing addendum (DPA) in place with Cloudflare as a qualifying vendor. We’ve made that part of the process easy for you.</p>
    <div>
      <h4>This is all you need to do:</h4>
      <a href="#this-is-all-you-need-to-do">
        
      </a>
    </div>
    <ul><li><p>Instructions for completing our our GDPR-compliant DPA can be found <a href="https://www.cloudflare.com/trust-hub/gdpr/">here</a>.</p></li><li><p>To complete the DPA, you should fill in the “Customer” information and sign on pages 6, 13, 15, and 19.</p></li><li><p>Send an electronic copy of the fully executed DPA to Cloudflare at <a>eu.dpa@cloudflare.com</a>.</p></li></ul><p>That’s it. Now you’re one step closer to GDPR compliance.</p><p>We can’t help you with the diet, exercise, and reading stuff. But if you need more information about GDPR and more resources, you can go to <a href="https://www.cloudflare.com/gdpr/introduction/">Cloudflare’s GDPR page</a>.</p> ]]></content:encoded>
            <category><![CDATA[Policy & Legal]]></category>
            <category><![CDATA[Europe]]></category>
            <category><![CDATA[GDPR]]></category>
            <category><![CDATA[Politics]]></category>
            <guid isPermaLink="false">4crbAEYhnTIx5JOzMLeRew</guid>
            <dc:creator>Edo Royker</dc:creator>
        </item>
        <item>
            <title><![CDATA[Advancing Privacy Protection with the GDPR]]></title>
            <link>https://blog.cloudflare.com/advancing-privacy-protection-with-the-gdpr/</link>
            <pubDate>Mon, 21 Aug 2017 23:42:15 GMT</pubDate>
            <description><![CDATA[ The road towards implementation of the new European GDPR (the General Data Protection Regulation) has been a long one, even though public awareness of its impact, especially outside of Europe, is only now really starting to take hold.  ]]></description>
            <content:encoded><![CDATA[ 
    <div>
      <h3>A game-changer</h3>
      <a href="#a-game-changer">
        
      </a>
    </div>
    <p>The road towards implementation of the new European GDPR (the General Data Protection Regulation) has been a long one, even though public awareness of its impact, especially outside of Europe, is only now really starting to take hold. This game-changing piece of EU legislation will require companies to fundamentally change how they process and use personal data (broadly defined) they receive from EU citizens, including through consent and data handling agreements with their customers, supply chains, and vendors. It will come into effect on 25th May, 2018, and will have tremendous reach, touching on all business sectors. More than that, the GDPR has extra-territorial scope and will apply to any business that processes the personal data of European users, irrespective of whether that business has any physical presence in the European Union.</p><p>The aim of the GDPR, which will replace the currently applicable European Data Protection Directive of 1995, is to both meet the challenges of globalization and address dynamic new products and services, while also trying to create a future-proof framework that will comfortably accommodate emerging technologies and scenarios, including the Internet of Things. It is also a response to Europeans’ growing concerns over the control and use of their personal data in the new data powered environment. By way of illustration (below), in March 2015 a Eurobarometer <a href="http://ec.europa.eu/commfrontoffice/publicopinion/archives/ebs/ebs_431_en.pdf">study</a> asked 28,000 EU citizens what they thought about the protection of their personal data, and 67% of respondents stated that they did not believe they had complete control over the information they provide online.</p>
            <figure>
            
            <img src="https://cf-assets.www.cloudflare.com/zkvhlag99gkb/4jpnJX2vjG3SgicXYFR1rE/5561d294e864d9dfbc6ffedb6cc36433/Screen-Shot-2017-08-21-at-4.13.34-PM.png" />
            
            </figure><p><i>Base: Respondents who feel like they don't have complete control over the info they provide online (n=16,244 in EU28)</i></p><p>Almost three quarters of the respondents did acknowledge and accept that providing personal data is an increasing part of modern life, but only one third indicated that providing such data was not a big issue. Clearly, something had to be done to help build user trust.</p>
    <div>
      <h3>Strengthening the EU Digital Single Market</h3>
      <a href="#strengthening-the-eu-digital-single-market">
        
      </a>
    </div>
    <p>The GDPR process began back in 2009 with a <a href="http://ec.europa.eu/justice/newsroom/data-protection/opinion/090709_en.htm">consultation</a> launched by the European Commission, along with stakeholder <a href="http://ec.europa.eu/justice/newsroom/data-protection/events/100701_en.htm">meetings</a> held throughout 2010 and 2011. Speeches given by the then EU Justice Commissioner, Viviane Reding, were combed over for clues as to the Commission’s plans, and finally in January 2012, all was revealed when the first draft of the GDPR was <a href="http://europa.eu/rapid/press-release_IP-12-46_en.htm?locale=en">published</a>. That triggered a four-year process in Brussels, involving the European Parliament and the European Council (EU Member States), ongoing Commission input and intense lobbying efforts by business and civil society representatives which resulted in many thousands of amendments (4,000 submitted in the lead European Parliament Committee, LIBE, alone). The text was finally agreed in December 2015 and the Regulation was formally <a href="http://eur-lex.europa.eu/legal-content/EN/TXT/?uri=uriserv:OJ.L_.2016.119.01.0001.01.ENG&amp;toc=OJ:L:2016:119:TOC">adopted</a> in April 2016, kicking-off the two-year implementation clock at a national level and for businesses preparing to comply.</p><p>An issue that had to be tackled was the fragmentation of data protection laws across Europe under the current Data Protection Directive, as each Member State had applied its own set of rules to broadly implement the EU legislation. This has been confusing not only for end users but also for those businesses trying to operate across the European Union and tailor their offerings accordingly. As such, while national derogations on some issues remain possible under the GDPR, there will now be a more solid and predictable framework in place, since the new law is a Regulation rather than a Directive and so is directly-applicable in each Member State.</p><p>The GDPR sets out a coherent risk-based approach to privacy protection and also codifies certain important principles, such as <b>control and transparency</b> (for users), <b>accountability</b> (for data processors and controllers), and <b>privacy by design and default. Consent of users</b> for the use of their data must be <i>“freely given, specific, informed and unambiguous”</i> and <b>data portability</b> has been enabled, allowing users to move between providers with ease. Sensitive data, such as health and genetic data, have a higher level of protection and the <b>right to erasure</b>, more commonly known as the “right to be forgotten” has been clarified.</p><p>This last provision is a headline GDPR item that has perhaps attracted the most media attention but is often misunderstood. The concept of a right to erasure already exists and can be applied through extensive interpretations of the current Data Protection Directive. However, this right will now be formally fortified by the GDPR. Importantly, this is not a carte blanche for content removal, and freedom of expression and historical and scientific research considerations remain safeguarded. That said, there will always be challenging cases and technical implementation for search engines in particular is tricky. More troubling are recent attempts to apply the right and treatment across multiple territories, an issue that is now the subject of legal challenges in the European Court of Justice and the Canadian courts, as led by Google, who has been <a href="https://www.blog.google/topics/google-europe/three-years-right-to-be-forgotten-balance/">asked</a> to delist certain search results globally.</p>
    <div>
      <h3>Cloudflare’s plan of action</h3>
      <a href="#cloudflares-plan-of-action">
        
      </a>
    </div>
    <p>Security and privacy go to the very core of Cloudflare’s value proposition and we already use “state of the art” (to use GDPR phraseology) technology and encryption as security features to ensure the confidentiality, integrity, availability and resilience of our processing systems and services. As such, we’ve been working hard to get ahead of the game and to be in full compliance before the May 2018 deadline. This in turn will help our customers and partners to prepare for GDPR compliance on their side, without operational overhead.</p><p>GDPR provides an opportunity for Cloudflare to strengthen its privacy offerings by introducing added control mechanisms for our users, and new features to help businesses, partners and vendors with their own GDPR compliance journey. We are working internally to see how best we can evolve our service with new functionalities, and are updating any agreements that need to be updated to reflect the GDPR framework. This is a full team effort at Cloudflare, as privacy will be further embedded into all of our engineering and product development processes, in addition to detailed data audits and privacy impact assessments.</p><p>While GDPR roll-out is a resource intensive programme for any company that wishes to do it right, there are many upsides to introducing such rigour across the business and ultimately our users and partners will be the beneficiaries. Ensuring absolute trust in our services and empowering our users is something that has always been inherently important to Cloudflare, and the GDPR is an important step forwards further clarifying, enabling and advancing individual privacy rights.</p> ]]></content:encoded>
            <category><![CDATA[Policy & Legal]]></category>
            <category><![CDATA[Privacy]]></category>
            <category><![CDATA[GDPR]]></category>
            <guid isPermaLink="false">6vmGtZGVm86koAZSEJ29SD</guid>
            <dc:creator>Caroline Greer</dc:creator>
        </item>
    </channel>
</rss>