There’s another approach that might be useful too:
:saved to Bubble storage will save the same file without privacy rules
Then encode it
And delete the duplicated file.
Set that all up in a backend workflow and you can use it anywhere in the app, private/public, frontend/backend, to encode any file in base64.
Demo: https://nquforumdemo.bubbleapps.io/version-test/base64
Username: nqu
Password: forumdemo
As another note, you can pass any private file URL with ?api_token={BUBBLEAPP_APITOKEN} and it’ll bypass privacy rules on that file URL. Useful for passing private files to APIs.
3 Likes