# Indices Restrictions

**URL:** <https://discuss.elastic.co/t/indices-restrictions/74410>\
**Category:** Elasticsearch\
**Created:** [February 8, 2017, 4:50pm UTC](https://discuss.elastic.co/t/indices-restrictions/74410 "2017-02-08T16:50:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![oakdeniz](https://avatars.discourse-cdn.com/v4/letter/o/71e660/32.png) [@oakdeniz](https://discuss.elastic.co/u/oakdeniz)\
**Post date:** [February 8, 2017, 4:50pm UTC](https://discuss.elastic.co/t/indices-restrictions/74410/1 "2017-02-08T16:50:21Z")

</div>

I have noticed my users can see all indices listed even though access has been restricted to those indices.

For example:

user X has role base access to indices X  
user X cannot see the data in indices Y and Z however can see the indices exist.

Is there a why of locking this down, so the user X cannot see any other indices except that which it has Access to.

Thanks in Advance.

---

<div class="post-metadata">

**Author:** ![jaymode](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaymode/32/50103_2.png) [@jaymode](https://discuss.elastic.co/u/jaymode)\
**Post date:** [February 9, 2017, 12:06pm UTC](https://discuss.elastic.co/t/indices-restrictions/74410/2 "2017-02-09T12:06:37Z")

</div>

Can you provide the roles that you are using for these users and the API calls that show the indices exist?

---

<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:** [March 9, 2017, 12:06pm UTC](https://discuss.elastic.co/t/indices-restrictions/74410/3 "2017-03-09T12:06:48Z")

</div>

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