Everything you need to know about anonymisation

Everything you need to know about anonymisation

In brief

  • Anonymisation makes any identification impossible and irreversible: anonymised data falls outside the scope of the GDPR.
  • Two families of techniques exist: randomisation (adding noise, permutation) and generalisation (k-anonymity, aggregation).
  • The WP29 sets out three reliability criteria: impossibility of singling out, linking and inferring from anonymised data.

What is anonymisation?

Anonymisation is one of the technical measures that can be implemented by controllers. According to the CNIL, it is an operation that consists of using a set of techniques to make it impossible, in practice, to identify the person by any means whatsoever and in an irreversible manner. Once anonymised, the data is no longer subject to the GDPR as it no longer constitutes personal data.

Anonymisation makes it possible to retain data for a defined processing purpose, without it being attributable to the data subject. Anonymisation is useful for retaining data beyond their initial retention period, but also for reusing them, publishing them, etc. However, care must be taken on this point and it must be ensured that the anonymisation process is genuinely effective. If anonymisation is carried out properly, it makes it possible to use data, which are originally personal data, whilst limiting the risks of infringing individuals' privacy. Indeed, the person who subsequently accesses the data only has an anonymised view of a dataset.

There are different anonymisation methods, grouped into two families: randomisation and generalisation. Each of these two families encompasses several techniques. To carry out the randomisation of a dataset, the main techniques that can be used are: adding noise, permutation and differential privacy. With regard to generalisation, it is mainly the techniques of aggregation and k-anonymity, l-diversity and t-closeness that can be used. Each anonymisation method has a different purpose and guarantees a variable level of precision. To determine which anonymisation method should be deployed, the purpose of the processing must first be identified. This purpose for which the data must be anonymised may, for example, be the establishment of statistics. The method presented below is only a simplified example of anonymisation by generalisation (k-anonymity technique).

How does generalisation work?

By using a generalisation technique, the controller modifies the scale of the attributes of the datasets, or their order of magnitude. If, for example, amongst the categories of data to be anonymised is the age of the data subjects; to generalise this data, the precise age of the individuals must be replaced by age ranges. Through this process, the dataset can no longer be individualised and it is no longer possible to re-identify the person.

To illustrate, let us take the example of a set of data used by the HR department of an organisation. In this example, this department uses the data to establish statistics on people's salaries, according to their age and length of service in the company. The raw data are as follows:

The first anonymisation step will consist of deleting the names of the data subjects since this data is not necessary for the intended processing. As a reminder, the GDPR sets out in Article 5 an obligation to process only data necessary for the defined purpose (principle of data minimisation). The staff number may also make it possible to identify individuals, provided one has a file that matches the staff number to the person's identity (as in the table above, or a payslip for example). Thus, to produce the intended statistics, it is not necessary to retain the staff number.

The individual's attributes such as their age and length of service make it easy to identify them. This data must be anonymised since it is of interest in calculating the statistics desired by the HR department. Finally, the sensitive data remains to be processed: the salary. This data must also be anonymised. Here, the purpose of anonymising these datasets is to break the identifying link between the name of the data subject and their salary.

To carry out the anonymisation of this data using a generalisation method, the scale of the data must be changed by establishing age ranges, salary ranges and whether the length of service is below or above an established date. This makes the data reusable but less precise. In our example, the data after anonymisation will be as follows:

What are the pitfalls to avoid in an anonymisation process?

The WP29 guidelines on anonymisation techniques (2014) identify three conditions for the anonymisation process to be reliable, it must be impossible:

  • To single out, that is to say it must not be possible to isolate an individual in the dataset. In the example above, individuals are grouped into broad categories;
  • To link, in other words the data relating to a single person or to a group of people must not be able to be linked together;
  • To infer, that is to say to deduce information, with a high degree of probability.

Data Comply One (ex Mission RGPD) and anonymisation

Thanks to Data Comply One (ex Mission RGPD), in each processing record, indicate in a few clicks the measures implemented to ensure data security, including anonymisation! Attach the document that details your process. In the event of an inspection, easily find the necessary documents and the links that connect them!