# Tag based masking

**URL:** <https://community.dremio.com/t/tag-based-masking/2958>\
**Category:** Uncategorized\
**Created:** [March 12, 2019, 3:39pm UTC](https://community.dremio.com/t/tag-based-masking/2958 "2019-03-12T15:39:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anilskp](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@anilskp](https://community.dremio.com/u/anilskp)\
**Post date:** [March 12, 2019, 3:39pm UTC](https://community.dremio.com/t/tag-based-masking/2958/1 "2019-03-12T15:39:52Z")

</div>

Hello

Does dremio support Tag based masking? something Like

```auto
WHEN tag() IN ('PII') and is_member('nopii') THEN 'aaaaa@mymail.com'
       ELSE email

```

Regards  
Anil

---

<div class="post-metadata">

**Author:** ![kelly](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/kelly/32/11_2.png) [@kelly](https://community.dremio.com/u/kelly)\
**Post date:** [March 20, 2019, 10:51pm UTC](https://community.dremio.com/t/tag-based-masking/2958/2 "2019-03-20T22:51:01Z")

</div>

This is not something Dremio currently supports. We will consider it for a future release. Personally, I see how this could be very useful.

---

<div class="post-metadata">

**Author:** ![anilskp](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@anilskp](https://community.dremio.com/u/anilskp)\
**Post date:** [March 21, 2019, 6:15pm UTC](https://community.dremio.com/t/tag-based-masking/2958/3 "2019-03-21T18:15:01Z")

</div>

Thanks Kelly for the response. Actually it will be good if we can add a classification against columns and integrate that with user access policy. Like how Ranger policy can be configured with an Atlas policy ih HDP.

Thanks, Anil
