Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要允许将大文件上传到 S3 的服务,仅适用于经过身份验证的客户端。所以,1. 我需要检查客户端是否有访问权限(例如 HMAC 或任何唯一密钥) 2. 检查文件格式(扩展名/MIME 类型,必须只有 MUSIC) 3. 如果一切正常 - 上传到 S3
看起来很简单。但是,我不想在服务中存储文件。经过所有检查后,我想将其直接流式传输到 S3。或者,如果 auth. 数据无效,请求必须中止,文件不会发送。
您能建议我应该使用什么技术或正确的搜索方式吗?