PaperKrane
Is it possible to return only an image / file?
Yeah looks like DO doesn't quite have the same control that Google appears to. The permissions allow you to generate links via the DO dashboard which isn't really great for an end user. All in all, I am trying to create a 'team' file system where a team can have access to one another's files while be restricted from other teams file library. That is where the proxy server idea came into play because I could have full control of the access control via middleware. It LOOKS like Google's authenticate content will work but for some reason I am just having a hard time visualizing the work flow. I'll explore more. Thanks so much for the insights @Aditya Mathur
13 replies
Is it possible to return only an image / file?
I can see what you mean about losing the benefits of the CDN. I’ll check this out! By chance do you know if DigialOcean spaces supports this feature or has a similar feature? If not no biggy. I’ll check it out once I get back to my computer. Thank you so much for this idea!
13 replies
Is it possible to return only an image / file?
OK, so I see how to serve static files locally, but I am interested in serving files from a CDN I have but utilizing my apps routes for example - 'example.app/files/some-file-name.jpg' will find 'some-file-name.jpg' in my CDN and return it as just the raw file but delivered from my app. I want to utilize my app's middleware to protect files for users of certain roles. Hope this makes sense. Any guidance / docs you can send would be amazing!
13 replies
Deploy Hono / Bun API
You are awesome! I was leaning towards App Platform because of the ‘Hassle Free’ it offers. Are the Dockers files that different? I’m excited to study them and try to get an understanding of the whole thing. Thanks again @Nico you are truly a lifesaver!
14 replies
Deploy Hono / Bun API
@Nico I have a few projects on DigitalOcean and honestly love it. I wish I could take you up on the free credit but as I am an existing customer, I doubt it’d do anything for me. But if it helps you I’d still be willing to try! As for the Docker image, I would appreciate any help you’re willing to offer. Trying to pour over the Docker docs right now but as it is when learning anything, it will take a bit of time.
14 replies