# Client hub sensitive data field detection for custom fields

> **Article applies to:**
>
> * Client Hub Account administrators
>
> * Clent Hub users who can create or edit custom attributes for Clients and Contacts

When you [add](https://docs.sharefile.com/en-us/sharefile/account_settings/client_hub_management/client_hub_create_custom_fields) or [edit](https://docs.sharefile.com/en-us/sharefile/account_settings/client_hub_management/client_hub_edit_custom_fields) a [client hub custom attribute](https://docs.sharefile.com/en-us/sharefile/client_hub/custom_fields/client_hub_custom_fields), **sensitive data field detection** checks its name for signs that it could collect sensitive or personal information. If it detects a potential risk, ShareFile client hub warns you before the attribute is saved. You can reconsider the attribute before creating or updating it, helping reduce accidental collection of information that may be visible to other users.

Detection evaluates the attribute name, not information later entered into the field. It can flag names that suggest the field may collect information such as Social Security numbers, tax IDs, driver's license numbers, financial account details, or other personal identifiers.

Detection uses two methods:

* Baseline checks compare the attribute name and dropdown values with allowlists and blocklists maintained by the system. These checks always run whether ShareFile client hub’s AI-assisted sensitive field detection is enabled or not.
* Optional semantic analysis using ShareFile client hub’s AI-assisted sensitive field detection can identify contextual clues, including less obvious names, abbreviations, synonyms, and non-English terms.

The **Enable sensitive data field detection** setting controls only whether ShareFile client hub’s AI-assisted sensitive field detection will be used. When this setting is disabled, the baseline checks will still run.

## Manage AI-assisted detection

To control whether ShareFile client hub uses AI-assisted semantic analysis:

1. From your ShareFile navigation menu, select **Account settings** > **Advanced Preferences**.
2. Select **AI Settings**.
3. Switch **Enable sensitive data field detection** to **ON** to allow AI-assisted semantic analysis, or **OFF** to use baseline checks only.
4. Click **Save**.
