# Not showing sensitive (decrypted) user info in logs

**URL:** <https://forum.bubble.io/t/not-showing-sensitive-decrypted-user-info-in-logs/167090>\
**Category:** Questions\
**Created:** [August 31, 2021, 1:49am UTC](https://forum.bubble.io/t/not-showing-sensitive-decrypted-user-info-in-logs/167090 "2021-08-31T01:49:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrewmccalister](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/andrewmccalister/32/98371_2.png) [@andrewmccalister](https://forum.bubble.io/u/andrewmccalister)\
**Post date:** [August 31, 2021, 1:49am UTC](https://forum.bubble.io/t/not-showing-sensitive-decrypted-user-info-in-logs/167090/1 "2021-08-31T01:49:51Z")

</div>

Hi,

Im worried about a security vulnerability. I currently encrypt and store sensitive user info in the db. When I need to use it I decrypt but this decrypted value then shows in the logs.

I’m worried about my Bubble account getting hacked and then someone could see the sensitive user info in the logs.

Is there a way to remove the sensitive (decrypted) user info from the logs?

---

<div class="post-metadata">

**Author:** ![yusaney1](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/yusaney1/32/217015_2.png) [@yusaney1](https://forum.bubble.io/u/yusaney1)\
**Post date:** [August 31, 2021, 1:58am UTC](https://forum.bubble.io/t/not-showing-sensitive-decrypted-user-info-in-logs/167090/2 "2021-08-31T01:58:28Z")

</div>

I suggest you giving some more information about your app to get support from the community.

- How are you encrypting/decrypting the data?
- Are you using privacy rules?
- Are you using any plugin for this?

Probably missing more important questions, but try to give much information as possible.

---

<div class="post-metadata">

**Author:** ![andrewmccalister](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/andrewmccalister/32/98371_2.png) [@andrewmccalister](https://forum.bubble.io/u/andrewmccalister)\
**Post date:** [August 31, 2021, 2:21am UTC](https://forum.bubble.io/t/not-showing-sensitive-decrypted-user-info-in-logs/167090/3 "2021-08-31T02:21:59Z")

</div>

Hey @yusaney1 . Happy to give more info.

- yes, I’m encrypting the data when I save it to the Database using the plugin AES 256 Encrypt & Decrypt ([Plugins | Bubble](https://bubble.io/plugin/aes256-encrypt--decrypt-1573205422070x332823723938414600)). I then decrypt it when I need to use it to make an API call.
- I have privacy rules set up. I believe I have it set up such that only I (the admin) can view. See attached screenshot.

 ![Autocoin___Bubble_Editor](https://us1.discourse-cdn.com/bubble/original/3X/7/9/79200e6dc38dc1356f3404af0e1b5adfff1f2003.png)

---

<div class="post-metadata">

**Author:** ![eli](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/eli/32/42610_2.png) [@eli](https://forum.bubble.io/u/eli)\
**Post date:** [August 31, 2021, 3:57am UTC](https://forum.bubble.io/t/not-showing-sensitive-decrypted-user-info-in-logs/167090/4 "2021-08-31T03:57:10Z")

</div>

> [@andrewmccalister](#):
>
> I have privacy rules set up. I believe I have it set up such that only I (the admin) can view. See attached screenshot.

This is an issue I’ve recently noticed as well. You can properly protect the data from being accessed by the end-users but any data sent through the API connector after being decrypted is viewable in the actual Bubble logs from the editor under Logs \> Server Logs.

Not sure what the correct solution for this is.

---

<div class="post-metadata">

**Author:** ![spongebob](https://avatars.discourse-cdn.com/v4/letter/s/90db22/32.png) [@spongebob](https://forum.bubble.io/u/spongebob)\
**Post date:** [October 12, 2021, 10:31pm UTC](https://forum.bubble.io/t/not-showing-sensitive-decrypted-user-info-in-logs/167090/5 "2021-10-12T22:31:51Z")

</div>

We solved @andrewmccalister’s problem by tokenizing their most sensitive data within our vault and leveraging our secure solution such that the Bubble logs never see that sensitive data. More importantly, Bubble app can never get back that sensitive data while still keeping the app 100% operational!

---

<div class="post-metadata">

**Author:** ![xtechaus](https://avatars.discourse-cdn.com/v4/letter/x/c0e974/32.png) [@xtechaus](https://forum.bubble.io/u/xtechaus)\
**Post date:** [January 21, 2023, 12:43am UTC](https://forum.bubble.io/t/not-showing-sensitive-decrypted-user-info-in-logs/167090/6 "2023-01-21T00:43:55Z")

</div>

How do you do this?

---

<div class="post-metadata">

**Author:** ![spongebob](https://avatars.discourse-cdn.com/v4/letter/s/90db22/32.png) [@spongebob](https://forum.bubble.io/u/spongebob)\
**Post date:** [January 28, 2023, 6:46am UTC](https://forum.bubble.io/t/not-showing-sensitive-decrypted-user-info-in-logs/167090/7 "2023-01-28T06:46:20Z")

</div>

Hi @xtechaus - we do this by tokenizing the sensitive data and Bubble simply stores tokens. Want to see a demo? If so, please feel free to book a demo from here: [https://strac.io](https://strac.io)
