# How to do authorization in elasticsearch

**URL:** <https://discuss.elastic.co/t/how-to-do-authorization-in-elasticsearch/105051>\
**Category:** Elasticsearch\
**Created:** [October 24, 2017, 11:43am UTC](https://discuss.elastic.co/t/how-to-do-authorization-in-elasticsearch/105051 "2017-10-24T11:43:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kanchan](https://avatars.discourse-cdn.com/v4/letter/k/8797f3/32.png) [@kanchan](https://discuss.elastic.co/u/kanchan)\
**Post date:** [October 24, 2017, 11:43am UTC](https://discuss.elastic.co/t/how-to-do-authorization-in-elasticsearch/105051/1 "2017-10-24T11:43:51Z")

</div>

I wanna to integrate user authorization part.how it possible without using xpack.

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [October 25, 2017, 2:03am UTC](https://discuss.elastic.co/t/how-to-do-authorization-in-elasticsearch/105051/2 "2017-10-25T02:03:32Z")

</div>

X-Pack is the component of the Elastic Stack that provides Authentication and Authorization for Elasticsearch. We do not provide any way to do that without X-Pack.

Why aren't you willing to use X-Pack for that?

---

<div class="post-metadata">

**Author:** ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)\
**Post date:** [October 25, 2017, 2:19am UTC](https://discuss.elastic.co/t/how-to-do-authorization-in-elasticsearch/105051/3 "2017-10-25T02:19:13Z")

</div>

es 5.x --\>x-pack..  
es 2.x--\>shield..

---

<div class="post-metadata">

**Author:** ![kanchan](https://avatars.discourse-cdn.com/v4/letter/k/8797f3/32.png) [@kanchan](https://discuss.elastic.co/u/kanchan)\
**Post date:** [October 25, 2017, 5:33am UTC](https://discuss.elastic.co/t/how-to-do-authorization-in-elasticsearch/105051/4 "2017-10-25T05:33:18Z")

</div>

xpack is not free.I want free version.

---

<div class="post-metadata">

**Author:** ![poojagupta](https://avatars.discourse-cdn.com/v4/letter/p/5daacb/32.png) [@poojagupta](https://discuss.elastic.co/u/poojagupta)\
**Post date:** [October 25, 2017, 5:52am UTC](https://discuss.elastic.co/t/how-to-do-authorization-in-elasticsearch/105051/5 "2017-10-25T05:52:19Z")

</div>

you can try out with search guard.  
follow the below link for more details:

> **[Search Guard | Security for Elasticsearch | Search Guard Overview](https://floragunn.com/)**
>
> Secure Elasticsearch, Kibana and Logstash with Search Guard, the Elasticsearch security solution that offers encryption, authentication and authorisation.

---

<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:** [November 22, 2017, 5:52am UTC](https://discuss.elastic.co/t/how-to-do-authorization-in-elasticsearch/105051/6 "2017-11-22T05:52:28Z")

</div>

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