aws-amplify / aws-amplify/amplify-cli
How can I limit the amount of megabytes my users upload to S3?
Open
feature-request
p4
storage
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 825
- Avg merge
- 11d 23h
- Merged PRs (30d)
- 2
Description
My project uses S3 and Cognito, among other AWS services.
The users can upload their pictures to S3, and other users can see them.
My question is, what about if I user (actually, an attacker), keeps uploading more and more MB of data on purpose?
Is there any way to limit this?
What should I do to cope with this scenario?
Is it possible to setup an alarm in cloud watch just in case?
Thanks a lot for suggestions.
**Which Category is your question related to?**
Storage
**Amplify CLI Version**
4.32.1
**What AWS Services are you utilizing?**
S3, cognito
**Provide additional details e.g. code snippets**
NA
Contributor guide
Assessment
This issue has not been assessed yet.