# How to disable user interaction with an embedded (iframe) visualization

**URL:** <https://discuss.elastic.co/t/how-to-disable-user-interaction-with-an-embedded-iframe-visualization/276811>\
**Category:** Kibana\
**Created:** [June 23, 2021, 2:55pm UTC](https://discuss.elastic.co/t/how-to-disable-user-interaction-with-an-embedded-iframe-visualization/276811 "2021-06-23T14:55:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kostas\_elastic](https://avatars.discourse-cdn.com/v4/letter/k/85e7bf/32.png) [@Kostas\_elastic](https://discuss.elastic.co/u/Kostas_elastic)\
**Post date:** [June 23, 2021, 2:55pm UTC](https://discuss.elastic.co/t/how-to-disable-user-interaction-with-an-embedded-iframe-visualization/276811/1 "2021-06-23T14:55:57Z")

</div>

Hi all,

I have embedded with Iframes a kibana visualization into a web page. Is there any way to disable certain user actions that interact with the visualization? For example, to disable the users' ability to scroll, filter, or click at the options button.

Thank you in advance

---

<div class="post-metadata">

**Author:** ![jportner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jportner/32/75692_2.png) [@jportner](https://discuss.elastic.co/u/jportner)\
**Post date:** [June 23, 2021, 6:22pm UTC](https://discuss.elastic.co/t/how-to-disable-user-interaction-with-an-embedded-iframe-visualization/276811/2 "2021-06-23T18:22:52Z")

</div>

When you set up the user role for accessing your Kibana visualization in the iframe, you can configure specific privileges to limit what that user is able to do.

There are only two things you can do at the moment to limit the UI controls that are available within any given Kibana application:

1. Assign a [feature privilege](https://www.elastic.co/guide/en/kibana/current/kibana-privileges.html#kibana-feature-privileges) (either `all` or `read`)
2. With a Gold license or higher, you can also customize [sub-feature privileges](https://www.elastic.co/guide/en/kibana/current/kibana-privileges.html#_sub_feature_privileges) (for example, you can give a user with `read` access to Visualizations the ability to create short URLs when they normally wouldn't be able to).

The only sub-feature privilege that is available for visualizations is the ability to create short URLs. Unfortunately, there isn't any support to accomplish what you are describing today.

If you'd like to have more granular control / additional sub-feature privileges, you can feel free to [submit a feature request on GitHub](https://github.com/elastic/kibana/issues/new?assignees=&labels=&template=Feature_request.md)!

---

<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 21, 2021, 6:22pm UTC](https://discuss.elastic.co/t/how-to-disable-user-interaction-with-an-embedded-iframe-visualization/276811/3 "2021-07-21T18:22:54Z")

</div>

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