Static masking

Updated at:

You can reference masking algorithm functions in code tasks to mask sensitive fields and write the masked data to target tables in development or production environments.

Static masking operation guide

  1. Navigate to the Dataphin home page, select Administration > Data Security from the top menu bar.

  2. In the left-side navigation pane, choose Sensitive Data Protection > Desensitization Rule. On the Desensitization Rule page, click the Static Masking tab.

  3. Follow the steps below to apply static masking rules:

    1. Step 1: Install the algorithm package

      In the asset security module, install the algorithm package for the project that requires masking. You can configure the security policy for the project uniformly. For details, see Project Security Policy.

    2. Step 2: View the desensitization algorithm description

      The masking algorithm uses methods such as hashing and masking to protect sensitive data including names, accounts, and phone numbers. You can view the algorithm usage instructions for details. For more information, see Desensitization Algorithm Page Introduction.

    3. Step 3: Test the desensitization algorithm

      After reviewing the algorithm details in Step 2, test the algorithm to verify the masking results. For testing procedures, refer to and Test Security Algorithm.

    4. Step 4: Apply desensitization in computing tasks

      In computing tasks, use masking algorithm functions to retrieve data and store the masked results in the designated table. For details, see Create MAX_COMPUTE_SQL Task or .