• TDM

What is data masking? Types, techniques and benefits

What data masking is, static vs dynamic data masking, the main masking techniques and the benefits of masking sensitive data (PII) in test environments.

By icaria Technology

Published Updated 4 min read

What is data masking? Types, techniques and benefits

Data masking is becoming the most popular way to keep personal data secure in software development environments. But do you know how the process actually works?

Before you adopt it just because everyone around you is talking about it, learn about the different data masking techniques and the benefits they will bring to your company. Ready? Let’s get started!

What is data masking?

Data masking is a process that transforms the data a company holds in order to protect that information and its confidentiality, while keeping it realistic enough for internal use in software development and testing.

The goal of the process is to replace all the information that can be considered sensitive in any database. This replacement produces new data that is valid for all our systems, yet makes it impossible for a third party to access the original values. In other words, the masked data has the same quality and the same meaning as the original data, but it does not contain the real information.

Which sensitive data (PII) should data masking cover?

Sensitive data is any information that, because it makes it possible to identify people or organisations, requires a high level of protection, since it is private by nature.

How sensitive information is classified can vary from country to country. However, the following personally identifiable information (PII) is always considered private and therefore sensitive:

  • Full name
  • National ID number
  • Phone number
  • Email address
  • Postal address
  • Bank account number
  • Debit and credit card numbers
  • Vehicle registration number (for insurers)
  • Medical data that could help identify the customer (rare diseases)
  • Any other data that helps locate a person.

Types of data masking: static vs dynamic

Once we know which data we need to protect, it is essential to distinguish between the different types of data masking:

  • Static data masking

Static data masking takes the production data of the original database as its starting point. The information keeps its context and consistent referential integrity, which is why we can use it in test environments.

  • Dynamic data masking

icaria does not recommend this option. Unlike static data masking, dynamic data masking replaces confidential data in transit and leaves the original data at rest intact and unchanged. In other words, the data is protected in real time.

This option prevents unauthorised access to confidential information and lets customers specify how much of it may be revealed.

You might also be interested in: Find the data you need for testing

Data masking techniques

With those basics clear, let’s look at the different data masking techniques you can come across.

  • Encryption

The first technique we want to highlight is encryption, a very complex and secure technique. The aim of this process is that, if a third party gains access to the sensitive information, the data is unintelligible.

This technique changes the composition of the data in a file by means of algorithms, and once the data is encrypted only authorised users can access it with a specific key.

  • Nulling (deletion)

Deletion makes the data null or non-existent for anyone who is not authorised to access it.

  • Scrambling

This third technique is very basic: it consists of character scrambling, that is, the characters are shuffled into a random order so that the original content is not revealed.

  • Substitution

This technique consists of imitating the appearance of real data without compromising personal information. The authentic data is hidden behind values that look real.

  • Shuffling

Shuffling uses real data but swaps the values within a column of a file. The dataset still looks like real data, but it does not reveal any personal information.

Benefits of data masking

Finally, now that we have covered the more technical side of data masking, here are the reasons why you should implement it in your business. Below we explain the benefits of using data masking.

  • It protects data in real time:

Risk is reduced through effective protection of sensitive data in production and external environments.

  • It cuts security costs:

It needs fewer resources because it is simpler than encryption or other methodologies, while being more effective.

  • It is scalable and easy to configure:

The process supports many databases in a single installation, so data masking policies only need to be defined once.

In today’s world, where data is created faster and is more volatile than ever, our companies must be ready to guarantee the security of all their data. That is why we need a procedure that covers everything from identifying confidential data to assessing each of the elements involved, so that data masking techniques are foolproof.

To help companies achieve all this, at icaria we have developed icaria TDM, a test data management platform that generates test data by masking real data while ensuring compliance with data protection law (GDPR).

Want to find out more about our software? Request a no-obligation demo and discover what icaria TDM can do for your company.

Talk to an expert

Ready to manage your test and production environments more efficiently?

Book a free consultation and find out how to reduce workloads, improve software quality and comply with data protection regulations.

Keep reading