I built a thin Cloudflare workers script for object versioning and it works great
Is this something you’d consider sharing? I know many of us would find it really useful!
sure! I'll clean it up a bit and show it on HN. For some reason I figure Cloudflare would have built that by now?!
Ouch. Object versioning is one of the best features of object storage. It provides excellent protection from malware and human error. My company makes extensive use of versioning and Object Lock for protection from malware and data retention purposes.
As @yawnxyz mentioned, versioning is straightforward to do via Workers (untested sample: https://gist.github.com/CharlesWiltgen/84ab145ceda1a972422a8...), and you can also configure things so any deletes and other modifications must happen through Workers.