TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How do you securely handle user-generated content

1 点作者 barnabees超过 4 年前
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.

暂无评论

暂无评论