@simmikolon @RWB you're right; Ubidots' libraries are meant to help you send data to the cloud in the least amount of steps with maximum connectability, accelerating your IoT prototyping and design efforts. But they are not optimized for security.
Ubidots does support SSL encryption in its API, so here is my 2 cents regarding security:
1- Use Particle Webhooks to secure Device to Cloud Communication
If your data uploads fit into the time/size constraints of event publishing, you can use a web hook to simply Particle.publish from your code and have the web hook convert it into an SSL request to your server. (The data communication between your device and the cloud is also encrypted.)
https://docs.particle.io/guide/tools-and-features/webhooks/8
2- Send data to Ubidots from Particle Cloud using HTTPS
Particle Webhooks have an "Enforce SSL" option which you can use to send data securely to Ubidots.
Connect your Particle device to Ubidots using Particle Webhooks | Ubidots Help Center