# How does Shield integrate with Kibana 4?

**URL:** <https://discuss.elastic.co/t/how-does-shield-integrate-with-kibana-4/104>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [May 1, 2015, 11:22am UTC](https://discuss.elastic.co/t/how-does-shield-integrate-with-kibana-4/104 "2015-05-01T11:22:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)\
**Post date:** [May 1, 2015, 11:22am UTC](https://discuss.elastic.co/t/how-does-shield-integrate-with-kibana-4/104/1 "2015-05-01T11:22:31Z")

</div>

### Authentication

Kibana 4 uses HTTP Basic Authentication to authenticate to Elasticsearch with Shield. For convenience, Shield includes a default role for use with Kibana 4 ([http://www.elasticsearch.org/guide/en/shield/current/\_shield\_with\_kibana\_4.html#\_shield\_configuration\_2](http://www.elasticsearch.org/guide/en/shield/current/_shield_with_kibana_4.html#_shield_configuration_2)).

### Encryption between Kibana 4 and Elasticsearch

You can optionally set encryption on Shield-enabled requests from Kibana 4. We recommend you do that, so that credentials are not passed in the clear. See [http://www.elasticsearch.org/guide/en/shield/current/\_shield\_with\_kibana\_4.html#\_from\_the\_kibana\_4\_server\_to\_elasticsearch](http://www.elasticsearch.org/guide/en/shield/current/_shield_with_kibana_4.html#_from_the_kibana_4_server_to_elasticsearch) for additional details.

### Data-level security

In the initial release for Kibana 4, only data-level security is provided. This means that if a user sees a chart, but Elasticsearch permissions do not allow the user to execute a query that populates the chart, it will be empty for that user. At this time, there is no view-level security for Kibana based on Shield, but we are considering this enhancement for future versions.

---

<div class="post-metadata">

**Author:** ![PatrickKik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/patrickkik/32/619_2.png) [@PatrickKik](https://discuss.elastic.co/u/PatrickKik)\
**Post date:** [June 11, 2015, 9:14am UTC](https://discuss.elastic.co/t/how-does-shield-integrate-with-kibana-4/104/2 "2015-06-11T09:14:01Z")

</div>

Sorry for the shameless plug but the [Trifork Blog](http://blog.trifork.com/2015/03/05/shield-your-kibana-dashboards) has a post about Shield with Kibana 4.

---

<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, 1:49pm UTC](https://discuss.elastic.co/t/how-does-shield-integrate-with-kibana-4/104/3 "2017-07-06T13:49:12Z")

</div>


