# Sensitive / PII Data

Currently, all Select Star users are able to see the same metadata descriptions and query history Select Star has processed. ‌

You can remove any sensitive or[ PII (Personally identifiable information)](https://www.gsa.gov/reference/gsa-privacy-program/rules-and-policies-protecting-pii-privacy-act) values from Select Star with a PII [Tag](https://docs.selectstar.com/data-management/tag-management).

#### Video Tutorial: PII & Auto PII Detection

{% embed url="<https://www.loom.com/share/f531f6a5504d4308a104964262fc5b23?hideEmbedTopBar=true>" %}

{% hint style="success" %}
`PII` is a special tag in Select Star, where the value will be removed in-memory from SQL queries where they are exposed.
{% endhint %}

<figure><img src="https://3470314135-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgAiVthA_yg9UXKuhyY%2Fuploads%2Fgit-blob-8e70a3cfe1b286f5848f6d4b01f9500e625cb429%2FScreenshot%202024-05-03%20at%2015.26.31.png?alt=media" alt=""><figcaption></figcaption></figure>

To be sure you are tagging all columns sources, click on the database in the left sidebar. Change the **Data Type** filter to **Columns**, and use `Cmd/Ctrl+F` to filter the results to find the columns you're looking for. You can then bulk select columns and tag them as PII.

<figure><img src="https://3470314135-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgAiVthA_yg9UXKuhyY%2Fuploads%2Fgit-blob-1f695dfb806b08da9955583b9a22eb164df13445%2FScreenshot%202024-05-03%20at%2015.29.13.png?alt=media" alt=""><figcaption></figcaption></figure>

It is possible to write a query which shows PII directly, such as `SELECT * FROM customers c WHERE c.ssn = '555 66 7777'`. In Selct Star, any queries using data with the `PII` tag will be masked as shown.

![](https://3470314135-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgAiVthA_yg9UXKuhyY%2Fuploads%2Fgit-blob-c270744b14a9e867cc2cf840abc194cce98b8e1f%2FScreen%20Shot%202021-08-12%20at%203.57.36%20PM.png?alt=media\&token=73eec0d4-56d4-4ecc-93b9-cf184dac8e54)

{% hint style="info" %}
If you need to see the PII data or have tagged something as PII by mistake, remove the tag and the queries will no longer be masked the next time your metadata sync runs.
{% endhint %}
