Securing File Upload & Download with Using AWS S3 Bucket Presigned URLs and Python Flask

What is AWS S3 Bucket?

Who can access the objects in AWS S3 Bucket?

What is “Presigned URL”?

Creating AWS S3 Bucket

Creating AWS IAM user and limit the permissions

Creating Python module for Bucket processes

Presigned URL for getting file

Presigned URL for uploading file

List and Delete Functions

Creating Flask application

Creating HTML page and AJAX endpoints

How can we make accessing Bucket objects more secure?

Cross-origin resource sharing (CORS)

Bucket policy

--

--

--

A CodeBender • Co-Founder & Software Developer @bicisim • https://serhatsonmez.net

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

20 Things Every Programmer Does Unintentionally

Embarking on a Salesforce Test Automation Journey For The First Time

BYTECON Individual CTF 2020 Writeups

How to : Implement Azure Key Vault Implementation in asp.net

School 42 piscine at KMITL BKK Notes — Day04 @ C0?

Heap Sort Explained

On Collision Vs. On Trigger — When to use them?

How to use split tunneling for your VPN on Windows 10

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Serhat Sönmez

Serhat Sönmez

A CodeBender • Co-Founder & Software Developer @bicisim • https://serhatsonmez.net

More from Medium

AWS Lambda Hands-On| Part-2

A Modern C++ HTTP Server with Pistache and Docker

Use Python logging module in AWS Lambda to send messages to CloudWatch and SNS

How Docker Became the Only Saviour in Deploying API