# Kibana link to text file. (kibana:7.6.2)

**URL:** <https://discuss.elastic.co/t/kibana-link-to-text-file-kibana-7-6-2/239382>\
**Category:** Elastic Security\
**Created:** [June 30, 2020, 11:51pm UTC](https://discuss.elastic.co/t/kibana-link-to-text-file-kibana-7-6-2/239382 "2020-06-30T23:51:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![adrimeov](https://avatars.discourse-cdn.com/v4/letter/a/c0e974/32.png) [@adrimeov](https://discuss.elastic.co/u/adrimeov)\
**Post date:** [June 30, 2020, 11:51pm UTC](https://discuss.elastic.co/t/kibana-link-to-text-file-kibana-7-6-2/239382/1 "2020-06-30T23:51:24Z")

</div>

Hi experts,  
We are trying to display a link inside a Kibana document; when a Kibana user click on that link, we want a new tab to display a text file. Right now, we have simply put the text files inside the bundles folder (/usr/share/kibana/optimize/bundles/text\_files/) and make that field a url that point to this location. The problem is that anyone not login inside Kibana can now access and visualise those text files (e.g [http://192.168.0.12:5601/bundles/text\_files/21b33ee0-bb19-11ea-83b6-0242ac170019.txt](http://192.168.0.12:5601/bundles/text_files/21b33ee0-bb19-11ea-83b6-0242ac170019.txt)). We were wondering if there is a way to serve and protect static content with the Kibana authentication mechanism.

Thank you.

---

<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 4, 2022, 8:04am UTC](https://discuss.elastic.co/t/kibana-link-to-text-file-kibana-7-6-2/239382/2 "2022-11-04T08:04:35Z")

</div>


