# How to securely store private images uploaded by users and processed by OpenAI (base64)?

**URL:** <https://forum.bubble.io/t/how-to-securely-store-private-images-uploaded-by-users-and-processed-by-openai-base64/369747>\
**Category:** Need help\
**Created:** [May 15, 2025, 8:54pm UTC](https://forum.bubble.io/t/how-to-securely-store-private-images-uploaded-by-users-and-processed-by-openai-base64/369747 "2025-05-15T20:54:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gerrythegeeza](https://avatars.discourse-cdn.com/v4/letter/g/48db29/32.png) [@gerrythegeeza](https://forum.bubble.io/u/gerrythegeeza)\
**Post date:** [May 15, 2025, 8:54pm UTC](https://forum.bubble.io/t/how-to-securely-store-private-images-uploaded-by-users-and-processed-by-openai-base64/369747/1 "2025-05-15T20:54:30Z")

</div>

I’m building an app which includes users upload an image (via PictureUploader), and receive an AI-generated styled image from OpenAI’s `gpt-image-1` model (received as base64). Currently, both the uploaded and AI-generated images end up publicly accessible. My goal is to ensure these images remain _completely private_, visible only to the uploading user, without involving third-party plugins.

_Current approach:_

- User uploads image via Bubble’s PictureUploader.
- Image sent to OpenAI via Bubble API Connector; returns a base64 string.
- The base64 string is currently saved as an image (`Make a new thing`) directly in Bubble, resulting in a publicly accessible URL.

1. Is there a simple way in Bubble (Starter plan) to privately store both uploaded and generated images without public URLs?
2. Can I directly store the base64 response from OpenAI as a private image/file accessible only to the current user?
3. If direct private storage isn’t possible with PictureUploader alone, what minimal workflow adjustments would you recommend to achieve secure, private storage?

Thank you for your time and help!

---

<div class="post-metadata">

**Author:** ![Jici](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jici/32/30722_2.png) [@Jici](https://forum.bubble.io/u/Jici)\
**Post date:** [May 16, 2025, 2:39am UTC](https://forum.bubble.io/t/how-to-securely-store-private-images-uploaded-by-users-and-processed-by-openai-base64/369747/2 "2025-05-16T02:39:45Z")

</div>

For files from API, you will need to use a plugin or use API connector upload it as a private file.

Plugin:  
[File Uploader Bubble API Plugin | Bubble](https://bubble.io/plugin/file-uploader-bubble-api-1628816507621x527883429883936800) (example)

For API Connector, search about fileupload endpoint on the forum, you should be able to find informations about how to do it.

---

<div class="post-metadata">

**Author:** ![mattblake](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mattblake/32/149474_2.png) [@mattblake](https://forum.bubble.io/u/mattblake)\
**Post date:** [June 9, 2025, 12:56am UTC](https://forum.bubble.io/t/how-to-securely-store-private-images-uploaded-by-users-and-processed-by-openai-base64/369747/3 "2025-06-09T00:56:31Z")

</div>

Just been working on this same issue and found that the Better Uploader plugin can expose a file as base64 without even needing to upload the file, perfect for inserting into the new [OpenAI Responses API.](https://platform.openai.com/docs/guides/images-vision?lang=curl&format=base64-encoded)

Let me know your thoughts: [Sending base64 image to OpenAI Responses for AI Image Analyse](https://forum.bubble.io/t/sending-base64-image-to-openai-responses-for-ai-image-analyse/372276)

---

<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:** [July 24, 2025, 8:55pm UTC](https://forum.bubble.io/t/how-to-securely-store-private-images-uploaded-by-users-and-processed-by-openai-base64/369747/4 "2025-07-24T20:55:29Z")

</div>

Closed on July 24, 2025, 8:55pm UTC

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