1 Answers
In the S3 ACL lesson the deny all is not a bucket policy, it is an IAM policy. As such it cannot affect non IAM users. The bucket policy allows anyone to get the object, even unauthenticated users.
In the Forcing Encryption using S3 lesson, they use a bucket policy to again affect unauthenticated users.