---
title: Creating a Masking Method
slug: kronpam-legacy-ui-reference-guide-3-5-0/creating-a-masking-method
description: Learn how to define a masking method for databases using SQL Proxies with this step-by-step guide. Navigate to the SQL Proxy Policy in the Policy Control section and access the Masking Method tab. Enter the masking details, including name, description, co
docTags: 
createdAt: 2022-08-01T16:43:18.000Z
---

A masking method must be defined for the related database types, in order to apply masking policies to databases when using SQL Proxies.

1. Navigate to **Policy Control** > **SQL Proxy Policy**.
2. Open the **Masking Method** tab.
3. Enter the masking name, description, column type, and masking pattern.
4. Click **Save**.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/OV_xYxKZtPbc4jtNDpAiG_image.png "Masking Method")

**Masking Pattern:** Masking functions should be defined in Java regex pattern. Some patterns are defined by default.

**Database Type:** Masking functions set in the masking pattern field vary for each database. The correct Database type selection is required to apply masking.

**Column Type:** The masking policy is applied according to the column type. The correct column type selection is required to apply masking.

**Hide Column:** The checkbox allows columns to be hidden for any applied method.

