How do I have an S3 bucket return 404 (instead of 403) for a key that does not exist in the bucket/
S3 returns a 403 instead of a 404 when the user doesn’t have permission to list the bucket contents. If you query for an object and receive a 404, then you know that object doesn’t exist. This is information you shouldn’t know if you don’t have permission to list the bucket contents so instead of … Read more