Contact

Data Protection by Design: Data Protection Engineering Rules (2/2)

3

min read

Executive Summary

  • Part 2 covers advanced Privacy-Enhancing Technologies (PETs) from the ENISA report
  • Secure Multi-Party Computation allows processing data without exposing it
  • Zero-Knowledge Proofs enable verification without revealing underlying data
  • Federated Learning trains AI models without centralising personal data

Continuing from Part 1, this second instalment covers advanced Privacy-Enhancing Technologies (PETs) from the ENISA Data Protection Engineering report. These techniques go beyond basic encryption and access control to enable genuinely privacy-preserving computation — processing data while minimising or eliminating exposure of personal information.

Data Protection Engineering can be perceived as part of data protection by Design and by Default. It aims to support the selection, deployment and configuration of appropriate technical and organizational measures in order to satisfy specific data protection principles. Undeniably it depends on the measure, the context and the application and eventually it contributes to the protection of data subjects’ rights and freedom.

In this regard, ENISA (the European Union Agency for Cybersecurity) has launched ‘Data Protection Engineering: From Theory to Practice’ in January 2022. The report presents existing security technologies and techniques and discusses possible strengths and applicability in relation to meeting data protection principles as set out in Article 5 GDPR.

The rest of this article talks about the report’s solutions and mentioned techniques in regard to communication, data storage, access control, authorization and authentication, taking into account the relation between data protection engineering with data protection by design. Each of the presented solutions must be adapted according to the type of data, the processing operation, the context and the possible attack models. We should not assume that a general scheme can be applied to all use cases or that such a scheme would be able to provide full and unlimited protection. This is applicable to every technique and technology discussed from now on.

 

Communication

Secure communication channels aim to provide secure exchange of data among two or more communicating parties. They are usually designed to enhance communications’ privacy in a way that no unauthorized third party can access the content and in some cases the participants or even the metadata of the communication taking place. The GDPR requires the security of the processed personal data, including during transmission, pursuant to recital 49 and article 32 of the GDPR. From the data protection engineering perspective, these channels should incorporate additional privacy enhancing characteristics, such as who can have access to the content of the communication, including the providers, location etc. Towards this direction, two technologies are being discussed below, namely End-to-End encryption and proxy routing.

End to End Encryption

End-to-End Encryption (E2EE) is a method of encrypting data and keeping it encrypted at all times between two or more communicating parties. Only the parties involved in the communication have access to the decryption keys. The main difference between E2EE and link encryption or encryption in transit is that in the latter cases, the content can be accessed by the server, depending on where the encryption takes place or where the encryption keys are stored. In a typical E2EE scenario, the encryption keys are stored at the end user devices and the server has information only on communication metadata (communication participants, date/time, etc).

Following the judgment C-311/18 (Schrems II), which concerned the personal data transfer of an EU citizen to the US, the EDPB published its recommendation on measures that supplement transfer tools to ensure compliance with the EU level of protection of personal data.

Proxy & Onion Routing

There is also the aspect of communication metadata (data that describes other data and include information on who, what, where, when, etc,) which according to the EDPB statement “can allow very precise conclusions concerning the private lives of the people to be drawn, implying high risks for their rights and freedoms”.

One possible model to protect metadata is the use of an onion routing network (e.g. Tor11) which supports anonymous communication over public networks. In onion routing user traffic is routed through a series of relay servers, and each relay server receives layered encrypted data without knowing neither the original sender nor the final recipient. Such information is available only to the entry and exit node. However, Tor is vulnerable to attackers who can observe traffic going in the entry and out of exit nodes and correlate messages.

 

Privacy Preserving Storage

Privacy preserving storage has two goals: protecting the confidentiality of personal data at rest and informing data controllers in case a breach occurs. Encryption is the main technique used to protect the data confidentiality from unauthorized access. Depending on the constraints of data controllers, it can be applied at three different levels: (i) storage-level, (ii) database-level and (iii) application-level encryption.

storage encryption, database level encryption, application level encryption

While storage encryption (file system and disk level encryption) mitigate the risks of an intruder getting physical access to the disk storing the database, this is an all-or-nothing approach because it is not possible to encrypt only certain parts of the database and it is not possible to have a better granularity than at file level. In this solution, there is only one encryption key that is managed by the system administrators of the database. 

 A database level encryption provides more flexibility than the previous solution and can be applied at different granularities tables, entries or fields. It can also be applied when some data fields/attributes are more sensitive than others (political or religious belief for instance). However, because the encryption keys need to be stored with the database, an adversary can connect to the server hosting the database and use a forensics tool to recover the keys directly.

In application-level encryption, all data is encrypted by the client with its own encryption keys and then stored. However, if several entries of the database are to be shared by different clients, the cryptographic keys need to be exchanged, which can jeopardize their security.

 

Access Control, Authorization and Authentication

Authentication, authorization and access control aim to prevent unauthorized or unwanted activity from happening by implementing controls and restrictions on what users can do, which resources they can access and what functions they are allowed to perform on the data, including unauthorized viewing, modification, or copying. Authentication confirms the identity of a user requesting to access the data while authorization determines which actions an authenticated user can make. Access control refers to a technique which ensures that only authenticated users can access the information they are entitled to.

Depending on the context and the needs, certain access control mechanism seems to be more suitable than others. For example, in a scenario where processing of customers’ personal data for marketing purposes takes place through an on-line cloud storage provider, Discretionary Access Control (DAC) can be used for accessing data for a specific service request such as a print and delivery service. Through DAC, an employee is able to specify which data, for each, external to the organization, user, and what action(s) are permitted. DAC provides users with advanced flexibility on setting up desired access control properties, however on the negative side it relies heavily on user’s awareness and understanding of associated risk. On the other hand, in a hospital information system, where each actor (doctor, nurse, administrative personnel) is assigned to different roles with different privileges (e.g. a doctor can access penitents’ medical data), Role Based Access Control (RBAC) seems to be more appropriate.

Attribute-Based Credentials

Attribute Based Credentials (ABC) allow the authentication of an entity by selectively authenticating different attributes without revealing additional information that are typically used and could very well include personal data. For example, in order for a service provider to allow access to an online service, the provider needs to verify the age of the individual requesting access. Instead of asking for individual’s age, the provider could ask for the value of an attribute which indicates whether the data subject is over 18 or not. Towards including even more privacy characteristics, Privacy-enhancing Attribute-Based Credentials (PABCs) have been proposed. This technique authenticates the user through attributes in a data-minimizing way, by providing un-linkable attributes (to each other).

Zero Knowledge Proof

Zero-Knowledge proofs are cryptographic primitives which can be used to enforce the confidentiality and the data minimization principles of the GDPR. The core idea of a zero knowledge proof is to allow a user (a data subject) prove to a server (data controller) that she knows a secret information without revealing anything on this secret. Zero-knowledge proofs are mostly used to implement authentication schemes and several protocols.

Zero-Knowledge proofs not only enforce confidentiality but also, compared to other authentication schemes such as user name/password, enforce the data minimization principle. In a password-based authentication scheme, a user sets a password and shares this password with a server. When the user wants to authenticate herself to the server, they need to provide her password, which is then compared to the one stored on the server. In zero knowledge proofs authentication scheme, this risk is limited because the server does not know the secret used by the user to authenticate. The technique minimizes the amount of information that the server knows about the user and consequently reduces the attack surface.

For more information about privacy by design and privacy engineering, you can contact us at [email protected] .

Key Takeaways

  • Federated Learning trains AI without centralising data — model gradients shared, not raw data
  • Zero-Knowledge Proofs: prove you are over 18 without revealing your date of birth
  • Differential Privacy: mathematical guarantee individuals can’t be identified in query results
  • Synthetic Data: test AI models without real personal data — removes GDPR constraints on testing
  • Homomorphic Encryption: compute on encrypted data without decrypting — promising but slow today

Clarity for informed decisions

Understanding the relevant risks, responsibilities, and objectives provides the necessary perspective for setting priorities and strengthening organizational resilience

What implications might this have for existing activities and processes?

Understanding the implications for activities, processes, responsibilities, organizational objectives, and decisions is the foundation of an informed and sustainable approach.

Effective risk management requires clear responsibilities, appropriate processes, and monitoring mechanisms that are commensurate with the level of exposure.

Clear roles and coordination mechanisms contribute to the coherence and sustainability of decisions.

Regular assessments of processes, responsibilities, and control mechanisms provide the necessary foundation for strengthening organizational resilience and governance.

Featured article

Recommended articles

NIS2 in Romania: First DNSC Fine for Failure to Notify. What Organisations Need to Know About Compliance

Cybersecurity

ENISA findings and risks for NIS2 companies

Cybersecurity