# Restrict data access in Kibana dashboards

**URL:** <https://discuss.elastic.co/t/restrict-data-access-in-kibana-dashboards/318774>\
**Category:** Kibana\
**Created:** [November 12, 2022, 3:07pm UTC](https://discuss.elastic.co/t/restrict-data-access-in-kibana-dashboards/318774 "2022-11-12T15:07:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Venkatesh\_Guruprasad](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/venkatesh_guruprasad/32/50887_2.png) [@Venkatesh\_Guruprasad](https://discuss.elastic.co/u/Venkatesh_Guruprasad)\
**Post date:** [November 12, 2022, 3:07pm UTC](https://discuss.elastic.co/t/restrict-data-access-in-kibana-dashboards/318774/1 "2022-11-12T15:07:15Z")

</div>

We are using Kibana dashboards as an embedded URL experience. Based on the user we want to display only relevant records and filters to the users.

As an example, we have one index which stores records for all customers. Based on the user we want to ensure the embedded URL can only show specific customers in the dashboards. How can we implement this use case?

---

<div class="post-metadata">

**Author:** ![wsouza](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wsouza/32/92547_2.png) [@wsouza](https://discuss.elastic.co/u/wsouza)\
**Post date:** [November 12, 2022, 11:04pm UTC](https://discuss.elastic.co/t/restrict-data-access-in-kibana-dashboards/318774/2 "2022-11-12T23:04:17Z")

</div>

I believe that using Space, it is possible to do this.

> **[Spaces | Kibana Guide \[8.5\] | Elastic](https://www.elastic.co/guide/en/kibana/current/xpack-spaces.html)**
>
> Conceptual and step-by-step procedures for using runtime fields, scripted fields, and field formatters.

Assigning the appropriate privileges:

> **[Kibana privileges | Kibana Guide \[8.5\] | Elastic](https://www.elastic.co/guide/en/kibana/current/kibana-privileges.html)**
>
> Conceptual and step-by-step procedures for using runtime fields, scripted fields, and field formatters.

---

<div class="post-metadata">

**Author:** ![Venkatesh\_Guruprasad](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/venkatesh_guruprasad/32/50887_2.png) [@Venkatesh\_Guruprasad](https://discuss.elastic.co/u/Venkatesh_Guruprasad)\
**Post date:** [November 16, 2022, 3:13am UTC](https://discuss.elastic.co/t/restrict-data-access-in-kibana-dashboards/318774/4 "2022-11-16T03:13:05Z")

</div>

I can't use spaces. I am embedding dashboard URL in to my app. Is there a way I can pass user info as part of the dashboard URL that can enforce restriction of data acess

---

<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:** [December 14, 2022, 3:13am UTC](https://discuss.elastic.co/t/restrict-data-access-in-kibana-dashboards/318774/5 "2022-12-14T03:13:32Z")

</div>

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