# Bubble app data expose through elastic search(external source)

**URL:** <https://forum.bubble.io/t/bubble-app-data-expose-through-elastic-search-external-source/350624>\
**Category:** Need help\
**Created:** [December 3, 2024, 9:45am UTC](https://forum.bubble.io/t/bubble-app-data-expose-through-elastic-search-external-source/350624 "2024-12-03T09:45:26Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![iiuiamirakram123](https://avatars.discourse-cdn.com/v4/letter/i/eada6e/32.png) [@iiuiamirakram123](https://forum.bubble.io/u/iiuiamirakram123)\
**Post date:** [December 3, 2024, 9:45am UTC](https://forum.bubble.io/t/bubble-app-data-expose-through-elastic-search-external-source/350624/1 "2024-12-03T09:45:27Z")

</div>

My bubble app user data is expose through external source elastic search,even i put privacy rules on each data type ,how i control this or stop the external elastic search ?

---

<div class="post-metadata">

**Author:** ![georgecollier](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/georgecollier/32/182327_2.png) [@georgecollier](https://forum.bubble.io/u/georgecollier)\
**Post date:** [December 3, 2024, 9:47am UTC](https://forum.bubble.io/t/bubble-app-data-expose-through-elastic-search-external-source/350624/2 "2024-12-03T09:47:02Z")

</div>

> [@iiuiamirakram123](#):
>
> My bubble app user data is expose through external source elastic search,even i put privacy rules on each data type

How do you mean? Can you share screenshots?

Privacy rules will always restrict user data based on their permissions, and are the only way to protect data.

The results of searches are visible in the network tab, but you’ll only ever see something the user’s privacy rules _allow_ them to access.

---

<div class="post-metadata">

**Author:** ![iiuiamirakram123](https://avatars.discourse-cdn.com/v4/letter/i/eada6e/32.png) [@iiuiamirakram123](https://forum.bubble.io/u/iiuiamirakram123)\
**Post date:** [December 3, 2024, 9:54am UTC](https://forum.bubble.io/t/bubble-app-data-expose-through-elastic-search-external-source/350624/3 "2024-12-03T09:54:50Z")

</div>

there is a script of elastic search (curl form) , when it runs in postman or in command line user interface , my user data shown to these interfaces ,it should not be , i applied privacy rules to each data type such that no one can access them other than app user roles, despite these my user app data exposed

---

<div class="post-metadata">

**Author:** ![georgecollier](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/georgecollier/32/182327_2.png) [@georgecollier](https://forum.bubble.io/u/georgecollier)\
**Post date:** [December 3, 2024, 10:15am UTC](https://forum.bubble.io/t/bubble-app-data-expose-through-elastic-search-external-source/350624/4 "2024-12-03T10:15:34Z")

</div>

> [@georgecollier](#):
>
> How do you mean? Can you share screenshots?

Share screenshots of your privacy rules, and your search constraints.

---

<div class="post-metadata">

**Author:** ![iiuiamirakram123](https://avatars.discourse-cdn.com/v4/letter/i/eada6e/32.png) [@iiuiamirakram123](https://forum.bubble.io/u/iiuiamirakram123)\
**Post date:** [December 3, 2024, 10:37am UTC](https://forum.bubble.io/t/bubble-app-data-expose-through-elastic-search-external-source/350624/5 "2024-12-03T10:37:11Z")

</div>

![1](https://us1.discourse-cdn.com/bubble/original/3X/d/f/dfc17ca0af06d99fda89aa68b2f11a4c7464ff77.jpeg)  
 ![2](https://us1.discourse-cdn.com/bubble/original/3X/5/0/501471c8f4565a6b94eb9798b4544fe1d6f8a904.jpeg)

---

<div class="post-metadata">

**Author:** ![iiuiamirakram123](https://avatars.discourse-cdn.com/v4/letter/i/eada6e/32.png) [@iiuiamirakram123](https://forum.bubble.io/u/iiuiamirakram123)\
**Post date:** [December 3, 2024, 10:38am UTC](https://forum.bubble.io/t/bubble-app-data-expose-through-elastic-search-external-source/350624/6 "2024-12-03T10:38:42Z")

</div>

Actually i have four roles in my app and role wise privacy applied ,only data shown to these users.

---

<div class="post-metadata">

**Author:** ![georgecollier](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/georgecollier/32/182327_2.png) [@georgecollier](https://forum.bubble.io/u/georgecollier)\
**Post date:** [December 3, 2024, 10:42am UTC](https://forum.bubble.io/t/bubble-app-data-expose-through-elastic-search-external-source/350624/7 "2024-12-03T10:42:55Z")

</div>

Your privacy rules are all redundant and you should only need ‘This User is Current User’ to allow a user to view their own data.

For your admin, you’ll want ‘Current User’s Role is Admin’

For your Company, you’ll want This User’s Company is Current User’s Company and Current User’s Company is not empty.

Same format for Employee / Sub company

---

<div class="post-metadata">

**Author:** ![iiuiamirakram123](https://avatars.discourse-cdn.com/v4/letter/i/eada6e/32.png) [@iiuiamirakram123](https://forum.bubble.io/u/iiuiamirakram123)\
**Post date:** [December 3, 2024, 10:50am UTC](https://forum.bubble.io/t/bubble-app-data-expose-through-elastic-search-external-source/350624/8 "2024-12-03T10:50:10Z")

</div>

But this is for inside the [bubble.io](http://bubble.io) , but i want that my data should not expose to any external api search that call from outside the bubble like from postman , CLI.

---

<div class="post-metadata">

**Author:** ![georgecollier](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/georgecollier/32/182327_2.png) [@georgecollier](https://forum.bubble.io/u/georgecollier)\
**Post date:** [December 3, 2024, 11:04am UTC](https://forum.bubble.io/t/bubble-app-data-expose-through-elastic-search-external-source/350624/9 "2024-12-03T11:04:33Z")

</div>

> [@iiuiamirakram123](#):
>
> i want that my data should not expose to any external api search that call from outside the bubble like from postman , CLI.

That’s not possible.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [February 11, 2025, 9:46am UTC](https://forum.bubble.io/t/bubble-app-data-expose-through-elastic-search-external-source/350624/10 "2025-02-11T09:46:15Z")

</div>

Closed on February 11, 2025, 9:46am UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
