Anyone here who works with DigitalOcean Spaces? Currently trying to figure out how to upload images from device storage to my spaces.
In all the tutorials I find they put their spaces-key and spaces-secret-key INSIDE the code which is then visible for everyone who decompiles the app 😅
I need a secure way
😶 1
e
ephemient
03/04/2022, 3:47 PM
if it's in the app that gets distributed, it can be reverse engineered and found. if that's not acceptable, then you can't put it in the app.
z
Zun
03/04/2022, 5:35 PM
You need to wrap access to your spaces through an API with authentication and optionally rate limits to prevent abuse. This is outside of the scope of this slack so you're better off asking somewhere else