How can you be sure the underlying storage provider actually deleted the file?
Re:How to copy a file between devices?
by apapapa on Thursday February 15, 2024 @11:45AM
(#39384943)
You hack them but even that isn't foolproof...
Re:How to copy a file between devices?
by number6 on Thursday February 15, 2024 @02:25PM
(#39387261)
They stop billing you for it... No force is greater than the market
Re:How to copy a file between devices?
by metadaddy on Thursday February 22, 2024 @05:02PM
(#39473926)
No need to give your file an obscure name, or use a public bucket. You can use a private bucket and create a presigned URL with an expiration of up to one week.
Presigned URLs are long and ugly and b2 requires an extra API call to generate that, so I tend to prefer not to use them. The other reason for obscure names is so that you can't download or update files that you don't know the name even if you have the upload key. I know it goes against common sense security practice but compromising convenience can mean compromising security in many cases. The thing is to make sure your scheme is rigourous.
Now this violates rule #1 (you need an account and you need to pay $6/TB/month for files stored, or $1.5/TB if you store files for only 7 days). For rule #4 you can set the lifecycle arbitrarily, like 1 day, such that the cost of storage is less than the cost of traffic.