# How hide filter and mail and other configurations in ELK

**URL:** <https://discuss.elastic.co/t/how-hide-filter-and-mail-and-other-configurations-in-elk/140083>\
**Category:** Elasticsearch\
**Created:** [July 16, 2018, 6:32am UTC](https://discuss.elastic.co/t/how-hide-filter-and-mail-and-other-configurations-in-elk/140083 "2018-07-16T06:32:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rijinmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rijinmp/32/24634_2.png) [@rijinmp](https://discuss.elastic.co/u/rijinmp)\
**Post date:** [July 16, 2018, 6:32am UTC](https://discuss.elastic.co/t/how-hide-filter-and-mail-and-other-configurations-in-elk/140083/1 "2018-07-16T06:32:30Z")

</div>

Hi All ,

It is a theoretical question . If I am installing ELK stack for a client in their machines . How can I hide my configurations from them . I want to hide my filters and configurations in ELK stack . Is it possible ?  
The problem is that client had the root privilege in their machines .

Is it possible to hide mail configuration in elasticsearch.yml ? from mail's username and password

is it possible to hide kibana username and password in kibana.yml?

---

<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:** [July 16, 2018, 6:40am UTC](https://discuss.elastic.co/t/how-hide-filter-and-mail-and-other-configurations-in-elk/140083/2 "2018-07-16T06:40:27Z")

</div>

If the client has root access to the machine then it is not possible to hide things from them.  
They have the ability to inspect the memory of running processes, open any file on the machine, copy the raw index data and use standard Lucene tools to read them. The best you could hope for is to hide some parts so that they would have to put in extra effort in order to read them.

In Elasticsearch it is possible to put _some_ settings into the [keystore](https://www.elastic.co/guide/en/elasticsearch/reference/6.3/secure-settings.html) which makes it far more difficult for them to get access to the settings (but not impossible).

Kibana has a similar feature.

---

<div class="post-metadata">

**Author:** ![rijinmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rijinmp/32/24634_2.png) [@rijinmp](https://discuss.elastic.co/u/rijinmp)\
**Post date:** [July 16, 2018, 6:43am UTC](https://discuss.elastic.co/t/how-hide-filter-and-mail-and-other-configurations-in-elk/140083/3 "2018-07-16T06:43:06Z")

</div>

Thank You Tim 🙂

---

<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:** [August 13, 2018, 6:43am UTC](https://discuss.elastic.co/t/how-hide-filter-and-mail-and-other-configurations-in-elk/140083/4 "2018-08-13T06:43:11Z")

</div>

Closed on August 13, 2018, 6:43am UTC

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