News for hackers. Stuff that matters.
Re:Ask HN: What is the best way to distribute static content... by dijit on Tuesday December 06, 2022 @09:52PM (#33890113)
there's so many options that it's difficult to say.

Two options are immediately obvious:

First option is to serve only encrypted content, and only hand out the decryption key to the parties that need it. If it's web then you can use javascript to unencrypt- though I'm not a web developer and that could be cumbersome.

This was how we did it for uPlay.

Second option: Akamai/Google CDN have the concept of a "signed" URL: https://cloud.google.com/cdn/docs/using-signed-urls which does basically what you're asking, but can be cumbersome to use in practice too.

Re:Ask HN: What is the best way to distribute static content... by MobileVet on Wednesday December 07, 2022 @08:47PM (#33903051)
Thanks for the suggestions