From the course: AWS for Developers: S3
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Bucket security - Amazon Web Services (AWS) Tutorial
From the course: AWS for Developers: S3
Bucket security
- [Instructor] There's a lot of variation of security options when dealing with S3 buckets, and they can all be configured to the STK. We're going to leverage the STK to block public access, like we did in the console, and we're going to use this as an example of using the STK for security purposes. There are obviously no way that I can show you all of them but this is a good example. So let's go back into our Python file. And we will create a new function called prevent public access. And we're simply going to have a bucket in order to do this work. And we will call on S3 meta client once again. And we're going to use a method called put public access block. We will send a bucket in the keyword arguments. We'll pass that our bucket. Now we need to build a public access block configuration which will equal a dictionary. Let's bring this to the next line here real quick so you can see me type at all. And in this…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Setting up an basic Python script2m 49s
-
(Locked)
Installing the SDK Boto31m 34s
-
(Locked)
Creating a bucket6m 10s
-
(Locked)
Binary object manipulation6m 50s
-
(Locked)
Bucket manipulation4m 59s
-
(Locked)
Bucket security5m 25s
-
(Locked)
Presigning URLs2m 54s
-
(Locked)
Deleting a bucket2m 3s
-
(Locked)
Challenge: Python SDK operations39s
-
(Locked)
Solution: Python SDK operations2m 51s
-
(Locked)
-
-