> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/data-pipeline/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bdb.ai/data-pipeline/components/transformations/data-loss-protection.md).

# Data Loss Protection

All component configurations are classified broadly into 3 section

* ​[​Basic Information​](/data-pipeline/components/component-base-configuration.md)​
* Meta Information
* [Resource Configuration​](/data-pipeline/components/resource-configuration.md)

**Data Loss Protection component in pipeline used to protect or mask the incoming data by using the several techniques so that the loss of important data can be ignored.**

{% hint style="success" %}
*Please follow the steps provided in the demonstration to configure the Data Loss Protection component.*
{% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fuq3RSHHup7fjHYaspk7y%2Fuploads%2FmQZImekNQE2kYV6s5XLr%2Fdata_loss_protection_AdobeExpress.mp4?alt=media&token=fc850f6a-9e8a-409b-8beb-d73639d489b8>" %}
*Configuring the Data Loss Protection in a pipeline workflow*
{% endembed %}

## **Configuring Meta Information of Data Loss Protection**

* **Column name:** Enter the column name whose data has to be protected.
* **Rule type:** Select the rule type to hide the data. There are four types of rules available by which the data can be protected.
  1. **Redaction:** Redaction is a data masking technique that enables you to mask data by removing or substituting all or part of the field value.
  2. **Masking:** By selecting this method, the data can be masked by the given character. Once this option is selected, the following value needs to be given:
     * **Masking character:** Enter the character by which the data will be masked.
     * **Characters to ignore:** Enter the character which should be ignored while  masking the data.
     * **Type:** Select either **Full** or **Partial** for masking the data.
  3. **Hashing:**  Hashing is using a special cryptographic function to transform one set of data into another of fixed length by using a mathematical process. Once this option is selected, then select the Hash type from the drop down to protect the data. There are 3 options available under the Hash type:
     * **sha 256**
     * **sha 384**
     * **sha 512**
  4. **Date generalization:** For this rule, select a column which is having only date values. There are four(4) options under this rule:
     * **Year**
     * **Month**
     * **Quarter**
     * **Week**

<figure><img src="https://363587200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fuq3RSHHup7fjHYaspk7y%2Fuploads%2FKpwkGarA1V2W0PUg837N%2Fimage.png?alt=media&amp;token=3e77b4ed-2017-409d-9ef4-a6143918200c" alt=""><figcaption><p>Data Loss Protection</p></figcaption></figure>
