By Discovery
I’ve almost finished building my desktop applications in electron.
In the final process i want to send certain input fields from the electron application to a server. But now i’m looking into digital ocean’s object storage and it seems like this might be even better for this (correct me if i’m wrong ) than hosting my own LAMP stack or own DB environment.
Now the actual question, since my code is going to be opensource but i want to include spaces as a backend syncing service is there a way of giving a user of the application access to the code and preventing the user from just abusing the access to the objectstorage ? Or am i over thinking this ?
If you have any great tutorials on using spaces with some javascript examples those are more than welcome.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Spaces Object Storage is great for storing static content like logs and media, but it won’t replace a traditional database as that isn’t it’s intent. So if you have the need for something outside of storing static content you will still need some sort of backend DB.
In regards to your specific code / access question you can open source your code but provide a blank default config file which doesn’t specify your API key for access.
This way people can look at, use the code as they please, and configure their own API key for storing files to Spaces.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.