In my backend I create a signed url that the client uses for uploading directly to the storage.
I setup content-type and content-length by validating the request, but such parameters are then ignored when proceeding with the upload to the storage. I tried generating the url with one file then switching file and the upload still works fine.
I am worried of security issues with someone using a signed url to upload thousands of files or very large files. How likely is this to happen?
Thanks for your help!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Sign up for Infrastructure as a Newsletter.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Heya, @50e0782ec2a94d689f2ac4589feb74
Pre-signed URLs only offer temporary access for unauthorized users and eventually expire.
When generating a pre-signed URL, you can set the following parameters:
You can ensure that the signed URLs have a limited expiration time. By setting a short expiration time, you reduce the window of opportunity for malicious activities.
Hope that this helps!