# How to use DLS and FLS in elasticsearch community version

**URL:** <https://discuss.elastic.co/t/how-to-use-dls-and-fls-in-elasticsearch-community-version/218096>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [February 6, 2020, 6:57am UTC](https://discuss.elastic.co/t/how-to-use-dls-and-fls-in-elasticsearch-community-version/218096 "2020-02-06T06:57:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Debashis\_Mondal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/debashis_mondal/32/52537_2.png) [@Debashis\_Mondal](https://discuss.elastic.co/u/Debashis_Mondal)\
**Post date:** [February 6, 2020, 6:57am UTC](https://discuss.elastic.co/t/how-to-use-dls-and-fls-in-elasticsearch-community-version/218096/1 "2020-02-06T06:57:23Z")

</div>

Hi,  
I am using elasticsearch community version, I am trying to implement DLS and FLS for the specific users. By using X-Pack we can do that but I have seen that this plugin's advance features only we can use in the enterprise edition.

I am using elasticsearch as document storage and serving through the Nodejs RestAPI. Where elasticsearch has only one user to authenticate. The Nodejs RestAPI is able to access by other users who do not belong to the elastic user.

Is there any way to implement role-based access to enable DLS and FLS in the community edition.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [February 6, 2020, 7:01am UTC](https://discuss.elastic.co/t/how-to-use-dls-and-fls-in-elasticsearch-community-version/218096/2 "2020-02-06T07:01:11Z")

</div>

No, that is a commercial feature not available in the OSS version.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 5, 2020, 7:01am UTC](https://discuss.elastic.co/t/how-to-use-dls-and-fls-in-elasticsearch-community-version/218096/3 "2020-03-05T07:01:16Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
