简体   繁体   English

没有前端经验或用户无法访问 AWS 帐户的用户能否将文件上传到 S3 存储桶?

[英]Can users upload files into a S3 bucket without frontend experience or users having access to AWS account?

I am looking to create an AWS solution where a lambda function will transform some excel data from a S3 bucket.我希望创建一个 AWS 解决方案,其中 lambda function 将从 S3 存储桶转换一些 excel 数据。 When thinking about how I'm going to create the architecture background, I need to think of a way where I can get non-technical users, which don't have access to the AWS account, to upload data into a S3 bucket.在考虑如何创建架构背景时,我需要考虑一种方法,让无法访问 AWS 帐户的非技术用户将数据上传到 S3 存储桶中。 One possible solution is using an S3 API and creating a UI to allow the users to upload the data.一种可能的解决方案是使用 S3 API 并创建一个 UI 以允许用户上传数据。 However, I do not have much experience with front end programming skills such as JS and HTML. Are there any other possible solutions we can use?但是,我对JS和HTML等前端编程技能经验不多。有没有其他可行的解决方案?

I've thought about creating a simple UI and using a S3 API to ingest data into the bucket but I do not have front end programming experience.我考虑过创建一个简单的 UI 并使用 S3 API 将数据提取到存储桶中,但我没有前端编程经验。

Some ideas:一些想法:

The main thing to think about is how you want to secure the upload .要考虑的主要事情是您要如何保护上传 For example, do they need to authenticate first, or do you want anyone in the world to be able to upload to the bucket (not a good idea.), Should each user have their own IAM User credentials?例如,他们是否需要先进行身份验证,或者您是否希望世界上任何人都能够上传到存储桶(这不是一个好主意。),每个用户是否应该拥有自己的 IAM 用户凭据? or should they authenticate to an application that manages its own logins?或者他们应该向管理自己登录的应用程序进行身份验证?

Also, have a think about what you want to happen after they upload the file.另外,考虑一下他们上传文件您希望发生什么。 If they need to download something after the file has been processed, then you'll need a way to 'give back' the new file .如果他们需要在文件处理后下载一些东西,那么您将需要一种方法来“返回”新文件

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 允许访问 Cognito 用户的 AWS S3 存储桶策略 - AWS S3 bucket policy to allow access to Cognito users 我们可以在 S3 存储桶策略中为 Cognito 用户添加条件吗? 或者条件只适用于 AWS 账户用户? - Can we add conditions for Cognito Users in S3 Bucket policies? Or conditions are just applied to AWS Accounts users? 将 zip 个文件直接从网站上传到 AWS S3 存储桶? - Upload zip files directly to AWS S3 bucket from website? 将文件从一个帐户中的 AWS S3 存储桶复制到 terraform/python 中另一个帐户中的存储桶 - copy files from AWS S3 bucket in one account to bucket in another account in terraform/python Django + AWS s3 可以上传文件但不能访问它们 - Django + AWS s3 can upload files but not access them 通过 boto3 upload_file api 将文件上传到 AWS S3 存储桶会出现“匿名用户无法启动分段上传。请进行身份验证。” 错误 - Uploading a file through boto3 upload_file api to AWS S3 bucket gives "Anonymous users cannot initiate multipart uploads. Please authenticate." error 如何限制用户下载上传到aws s3的文件 - How to restrict users from download files uploaded to aws s3 AWS S3 存储桶访问文件权限 - AWS S3 Bucket Access file permission 我收到多个错误:尝试在 aws s3 存储桶中上传文件时出现意外字段 - I am getting multer error : unexpected field when i was trying to upload files in aws s3 bucket 如何在没有 AWS cognito 身份验证的情况下使用 Flutter Amplify 访问 S3 存储桶 - How to access S3 bucket using Flutter Amplify without authentication from AWS cognito
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM