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: How do you securely handle user-generated content

1 pointsby barnabeesover 4 years ago
I&#x27;m developing a simple app where users can upload pictures. The app directly uploads images to Firebase Storage from the client, and sends the URL of the uploaded image to my server. I&#x27;m concerned about the security of this. There&#x27;s no way to rate-limit users uploading images, so one malicious user could hypothetically upload millions of images and burn through my budget.<p>What&#x27;s the standard way of handling this? I&#x27;m also considering proxying uploads through my server which gives me more control but is less performant and wouldn&#x27;t really stop a dedicated user.

no comments

no comments