TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Private object hosting for users

4 pointsby kikkiover 3 years ago
Hi HN.<p>Some of my recent hobby projects have involved user&#x27;s uploading their own files, such as videos, images, and generally things that don&#x27;t belong in most databases. It&#x27;s important to me that if they were to trust me with their content that I&#x27;d have reliable storage - so I don&#x27;t want to spin up my own solution for this and looked around to find something that already exists.<p>The obvious first place was AWS S3, and while it doesn&#x27;t directly serve this need you can set it up to do so with presigned URLs and object permissions (https:&#x2F;&#x2F;docs.aws.amazon.com&#x2F;AmazonS3&#x2F;latest&#x2F;userguide&#x2F;ShareObjectPreSignedURL.html). This can work, but as far as object storage goes AWS is very expensive. I also looked into Google Storage through Firebase (https:&#x2F;&#x2F;firebase.google.com&#x2F;products&#x2F;storage) which with some configuration through Firebase authentication can also achieve (but locks you into their auth) - and again, very expensive.<p>My ideal would be an option like Backblaze B2, which is considerably cheaper - but isn&#x27;t designed with this use-case in mind. Depsite having an AWS compatible API, and supporting pre-signed URLs, I couldn&#x27;t find a reliable way to assign objects to users through metadata.<p>I was really hoping for some easy-to-use white label solution for this, but it just seems like it doesn&#x27;t exist.<p>So what do people do for things like this? My AC is:<p>- Allow specific users to upload any media<p>- Allow user &gt; object assignment<p>- Some auth around the above<p>- Reasonably priced (minimal egress costs)

2 comments

LinuxBenderover 3 years ago
It sounds like you are describing something like a hosted Nextcloud [1] instance but I have no idea if that makes sense cost-wise. They have a comparison page [2] that also mentions some of the other related services. I have only used the self-hosted version of their applications and honestly have no idea how much their hosted solution costs.<p>[1] - <a href="https:&#x2F;&#x2F;nextcloud.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;nextcloud.com&#x2F;</a><p>[2] - <a href="https:&#x2F;&#x2F;nextcloud.com&#x2F;compare&#x2F;" rel="nofollow">https:&#x2F;&#x2F;nextcloud.com&#x2F;compare&#x2F;</a>
_448over 3 years ago
Have a look at: <a href="https:&#x2F;&#x2F;solidproject.org" rel="nofollow">https:&#x2F;&#x2F;solidproject.org</a><p>And the Pod providers: <a href="https:&#x2F;&#x2F;solidproject.org&#x2F;users&#x2F;get-a-pod" rel="nofollow">https:&#x2F;&#x2F;solidproject.org&#x2F;users&#x2F;get-a-pod</a>