Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
dangoodmanUT
· 2y ago · 0 comments
A quick answer is to put the bucket behind cloudfront so that the denial is cached, but that's not totally free either.
If they actually charge for unauth'd requests that's absurd
Comments
[–]
t0mas88
2y ago
That doesn't work, the standard endpoint always remains available.
[–]
skinner927
2y ago
I assume random names are the only way forward. Unfortunately a bucket name can’t be longer than 63 characters.
[–]
ShroudedNight
2y ago
You can stuff >256 bits into 56 BASE32 digits. The 63 character limit seems like it would only be constraining if humans want meaningful bucket names.
[–]
infecto
2y ago
Surprising people are not already doing this. Something that has been beat into me for at least a decade.
[–]
kolanos
2y ago
> Other than deleting the bucket, there’s nothing you can do to prevent it. You can’t protect your bucket with services like CloudFront or WAF when it’s being accessed directly through the S3 API.
[–]
macok
2y ago
You can't protect your bucket with CloudFront if it's being access using S3 api.