# How does Kibana 4 integrate with Shield?

**URL:** <https://discuss.elastic.co/t/how-does-kibana-4-integrate-with-shield/103>\
**Category:** Kibana\
**Created:** [May 1, 2015, 11:21am UTC](https://discuss.elastic.co/t/how-does-kibana-4-integrate-with-shield/103 "2015-05-01T11:21:31Z")\
**Posts on this page:** 2\
**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:21am UTC](https://discuss.elastic.co/t/how-does-kibana-4-integrate-with-shield/103/1 "2015-05-01T11:21:31Z")

</div>

### Authentication

Kibana 4 uses HTTP Basic Authentication to authenticate to Elasticsearch with Shield. For convenience, Shield includes a default role with Kibana ([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:** ![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, 2:19pm UTC](https://discuss.elastic.co/t/how-does-kibana-4-integrate-with-shield/103/2 "2017-07-06T14:19:48Z")

</div>


