30 Day Cloud Challenge: Day 11

aws
Author

Danielle Brantley

Published

March 11, 2024

For Day 11, here was the following prompt:

Privacy settings of S3 buckets - see whether your files are public versus private! If they are public, make sure they are privatized. Can you think of any risks here if your information was public? How do we make your S3 bucket private?

To check whether the files in my S3 bucket are public or private, I navigated to my bucket, opened my bucket and clicked on the name of the file to see its details. The only way I could view my object was selecting “Open” to view my object in another tab.

However, I couldn’t access my object using the Object URL shown below because I disabled public access to my bucket.

When I clicked the Object URL, I am led to this message:

This error confirmed that my file is private!

Amazon provides a number of security features to consider when creating a S3 bucket. As shown in my previous post, some of these security features are provided by default.

According to the AWS documentation, there are several more ways to ensure that an S3 bucket remains private. Here are just some of the best practices for securing an S3 bucket:

There are many risks involved by having an S3 bucket exposed for all the world to see. Poorly managed and misconfigured buckets can result in data breaches, uploading of malicious files, removal of files and the integrity of files being compromised. In addition, it can cost a company million of dollars.

Over the past few years, there have been stories of data breaches and malicious attacks due to S3 buckets being poorly managed and not configured properly.

As you can see, it is imperative that security be top of mind when creating S3 buckets. There are serious consequences for not securing data properly.

I have to admit I was a bit overwhelmed seeing the all of the precautions Amazon has put in place to protect S3 buckets. I learned a lot about security doing this challenge. I’ll again explore more of S3 in a future challenge.