3 ms·
I would love to hear more. I had a gig where we considered S3 and B2 for serving very private files (financial records). With B2 I could not find a good way to
by dotancohen 5y ago
I would love to hear more. I had a gig where we considered S3 and B2 for serving very private files (financial records). With B2 I could not find a good way to ensure that, assuming the URL is known, a file could only be accessed by an authorized party.
- frogger8 5y agoI am in the same boat currently in my research. In fact I posted this gist link we are discussing. My use case is confidential data and this solution won’t work if I can’t guarantee access is limited to specific users around the country. Is free, secure, and fast to much to ask? Joking of course.
- charcircuit 5y agoIs it not possible to just store it encrypted and then have your service give out the decryption key to authorized users?
- frogger8 5y agoGreat idea, I just need to move my thought of encryption on the sending client to encryption on the destination server since this is infosec related and sending client could be compromised. Thanks for the help!
- dotancohen 5y agoThis is a terrific idea, thank you. I would love to hear some of the implications of this approach. I can already think that the attacker would know the size of the file, so that might give him information regarding e.g. the file type. It might be of interest to an attacker to know that most clients get files of a specific size, but a certain client gets a file that is much much larger. I wonder what other implications might there be.
- poxrud 5y agoYou can set the bucket as allPrivate, then use the API to generate a presigned url for the file that you need.
- dotancohen 5y agoThat URL is susceptible to being intercepted in transit, though, such as in an email. And validating the request via a redirect on my own server invalidates 2/3 of the reasons for using an external file host.