pingcap / tidb

TiDB - the open-source, cloud-native, distributed SQL database designed for modern applications.
https://pingcap.com
Apache License 2.0
37.21k stars 5.84k forks source link

Support Data Mask #18083

Open scsldb opened 4 years ago

scsldb commented 4 years ago

Description

Support Data Mask. Protect sensitive information like credit card number or SSN where data readers suppose not to read the original information.

Category

Feature, Security

Value

Improve system security

Data Mask and De-Identification in MySQL

MySQL Enterprise Data Masking is De-Identification are based on a plugin library that implements these components:

  • A server-side plugin named data_masking.
  • A set of user-defined functions (UDFs) provides an SQL-level API for performing masking and de-identification operations. Some of these functions require the SUPER privilege.

See MySQL Enterprise Data Masking and De-Identification for details.

shenli commented 4 years ago

Could we also support data mask or anonymization for backup data (for example in BR)?