# How can I define a Username and password for login?

**URL:** <https://discuss.elastic.co/t/how-can-i-define-a-username-and-password-for-login/19979>\
**Category:** Elasticsearch\
**Created:** [September 26, 2014, 11:44am UTC](https://discuss.elastic.co/t/how-can-i-define-a-username-and-password-for-login/19979 "2014-09-26T11:44:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dalghak\_joker](https://avatars.discourse-cdn.com/v4/letter/d/f4b2a3/32.png) [@dalghak\_joker](https://discuss.elastic.co/u/dalghak_joker)\
**Post date:** [September 26, 2014, 11:44am UTC](https://discuss.elastic.co/t/how-can-i-define-a-username-and-password-for-login/19979/1 "2014-09-26T11:44:26Z")

</div>

Hello Members.  
How are you?  
I use Elastecsearch+Kibana+Nginx+Logstach for record windows Logs and I  
want to know how can I define an account for browse Kibana? by default any  
user that enter my Log server address in Browser, Can see my Log server.

Thank you and Good luck.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/96b56457-3aa5-47a1-9d3f-5ccc9374afca%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/96b56457-3aa5-47a1-9d3f-5ccc9374afca%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![vineeth\_mohan\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vineeth_mohan_2/32/747_2.png) [@vineeth\_mohan\_2](https://discuss.elastic.co/u/vineeth_mohan_2)\
**Post date:** [September 26, 2014, 11:49am UTC](https://discuss.elastic.co/t/how-can-i-define-a-username-and-password-for-login/19979/2 "2014-09-26T11:49:39Z")

</div>

Hello ,

ELK stack doesn't give inherent support for this , but then there are a  
couple of open source projects you can use.  
[GitHub - fangli/kibana-authentication-proxy: Hosts the latest kibana3 and elasticsearch behind Google OAuth2, Basic Authentication or CAS Authentication](https://github.com/fangli/kibana-authentication-proxy) works fine for me.

Or else a solution based on Nginx will also work good.

Thanks  
Vineeth

On Fri, Sep 26, 2014 at 5:14 PM, [dalghak.joker@gmail.com](mailto:dalghak.joker@gmail.com) wrote:

> Hello Members.  
> How are you?  
> I use Elastecsearch+Kibana+Nginx+Logstach for record windows Logs and I  
> want to know how can I define an account for browse Kibana? by default any  
> user that enter my Log server address in Browser, Can see my Log server.
> 
> Thank you and Good luck.
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/96b56457-3aa5-47a1-9d3f-5ccc9374afca%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/96b56457-3aa5-47a1-9d3f-5ccc9374afca%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/96b56457-3aa5-47a1-9d3f-5ccc9374afca%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/96b56457-3aa5-47a1-9d3f-5ccc9374afca%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAGdPd5nay2TemAgccmDSa4Se7XgRq%3DsWzDjcob-nZf%2ByHPAE%3Dw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAGdPd5nay2TemAgccmDSa4Se7XgRq%3DsWzDjcob-nZf%2ByHPAE%3Dw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![chenryn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chenryn/32/44917_2.png) [@chenryn](https://discuss.elastic.co/u/chenryn)\
**Post date:** [September 27, 2014, 3:36am UTC](https://discuss.elastic.co/t/how-can-i-define-a-username-and-password-for-login/19979/3 "2014-09-27T03:36:05Z")

</div>

I implement a kbnauth in my `https://github.com/chenryn/kibana`. May anyone  
give a try?

2014-09-26 19:49 GMT+08:00 vineeth mohan [vm.vineethmohan@gmail.com](mailto:vm.vineethmohan@gmail.com):

> Hello ,
> 
> ELK stack doesn't give inherent support for this , but then there are a  
> couple of open source projects you can use.  
> [GitHub - fangli/kibana-authentication-proxy: Hosts the latest kibana3 and elasticsearch behind Google OAuth2, Basic Authentication or CAS Authentication](https://github.com/fangli/kibana-authentication-proxy) works fine for me.
> 
> Or else a solution based on Nginx will also work good.
> 
> Thanks  
> Vineeth
> 
> On Fri, Sep 26, 2014 at 5:14 PM, [dalghak.joker@gmail.com](mailto:dalghak.joker@gmail.com) wrote:
> 
> > Hello Members.  
> > How are you?  
> > I use Elastecsearch+Kibana+Nginx+Logstach for record windows Logs and I  
> > want to know how can I define an account for browse Kibana? by default any  
> > user that enter my Log server address in Browser, Can see my Log server.
> > 
> > Thank you and Good luck.
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/96b56457-3aa5-47a1-9d3f-5ccc9374afca%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/96b56457-3aa5-47a1-9d3f-5ccc9374afca%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/96b56457-3aa5-47a1-9d3f-5ccc9374afca%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/96b56457-3aa5-47a1-9d3f-5ccc9374afca%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/CAGdPd5nay2TemAgccmDSa4Se7XgRq%3DsWzDjcob-nZf%2ByHPAE%3Dw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAGdPd5nay2TemAgccmDSa4Se7XgRq%3DsWzDjcob-nZf%2ByHPAE%3Dw%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CAGdPd5nay2TemAgccmDSa4Se7XgRq%3DsWzDjcob-nZf%2ByHPAE%3Dw%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAGdPd5nay2TemAgccmDSa4Se7XgRq%3DsWzDjcob-nZf%2ByHPAE%3Dw%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CABwsoohKCcq6Q8G4\_jWU8rWXbPqepgLTOmx5eEx%2BtUdtRB8XKw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CABwsoohKCcq6Q8G4_jWU8rWXbPqepgLTOmx5eEx%2BtUdtRB8XKw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 12:59am UTC](https://discuss.elastic.co/t/how-can-i-define-a-username-and-password-for-login/19979/4 "2017-07-06T00:59:38Z")

</div>


