Комментарии:
thanks. Still works like a charm, although the video is 3 years old!
Ответитьthank you, great tutorial!
ОтветитьThank You! I asked Chat GPT and it gave completely wrong instructions. Nice to see REAL people still rule ;-)
Ответитьvery cool , how did you get the SID, this was basically what the policy generator gave me but an incorrect SID value
ОтветитьA more updated version of the bucket policy he used:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicRead",
"Effect": "Allow",
"Principal": "*",
"Action": [
"s3:GetObject",
"s3:GetObjectVersion"
],
"Resource": [
"arn:aws:s3:::DOC-EXAMPLE-BUCKET/*"
]
}
]
}
great!!!thanks
Ответитьwhere does one acquire appropriate code to insert at the end of the process?
ОтветитьCode-------------------------------------
{
"Version": "2008-10-17",
"Statement": [
{
"Sid": "AllowPublicRead",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::NAME0fBUCKET/*"
}
]
}
-------------------------
thank you straight to the point super simple and well explained
ОтветитьVery helpful. Thanks!
Ответитьthank you! i got an error for the code but I saved anyway and it worked
Ответитьthis is what I see after pasting your thing + my bucketname:
Unknown Error
An unexpected error occurred.
API response
Policies must be valid JSON and the first byte must be '{'
very nice thsi is the method what i looking for cpa, thanks
ОтветитьThank you sir ☺️
ОтветитьThanks a lot it works
ОтветитьExactly what I needed, thank you so much! Subscribed!
ОтветитьThank you, super helpful!
ОтветитьThanks!
ОтветитьPerfectly worked for me! Thanks a lot!
Ответитьu dont know what u have done ...
but u forgot to inform to change principal also :-) , which u did actually
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Statement1",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::te4351989034uhyjTDVservice/*"
}
]
}
Thank you very much! Help me a lot :)
Ответитьthanks!!
Ответитьspeak don't sing.too fast for new learners
ОтветитьThank you so much!
ОтветитьGreat video. Helped a lot. Thanks :)
Ответитьthanks!
ОтветитьAwesome :) thank you very much
ОтветитьThanks 😊
Ответитьsólo requiero darle acceso a un usuario y que no muestre los demás buckets, alguién tiene la configuración?. Gracias
ОтветитьHi, can i make a bucket public read using the CLI ?
ОтветитьI did like your show in this video, but my bucket policies said "Access deny".. So how can i fix it?
ОтветитьThank you very much, this worked perfectly and now my problem is solved!
ОтветитьThank you. I still struggling with one issue = temporary denied access to the uploaded image.
Flow is the following: user's images are loaded into initial bucket, then lambda function gets triggered, resizes them and drops to the another bucket (collecting re-sized images). Everything goes almost well with one problem. When user gets redirected to see a newly uploaded image, he sees no image (console access denied 403 ), but if the page gets reloaded = images become visible (aws responds with status 200 OK). Has anybody a suggestion? Thx in advance.
Is there any way to make this with a private bucket? Sorry if this is an stupid question ;)
Edit: Also where can we download that cursor haha!
This is exactly what I needed, thank you!
ОтветитьI have an image and when I click the object link I get the download popup, what can I make different in order to have it display on my browser like chrome usually does and your json did?
ОтветитьTHANK YOU IT WORKED! I NEEDED YOUR CODE FOR MY FILES TO BE PUBLIC!!!!!! THANKS!!!!!!!!!!!!!!
ОтветитьThanks man. Worked perfectly! take love
Ответитьgreat video. Thank you
Ответить{
"Version": "2008-10-17",
"Statement":[
{
"Sid":"AllowPublicRead",
"Effect":"Allow",
"Principal": {
"AWS":"*"
},
"Action":"s3:GetObject",
"Resource":"BUCKET_ARN/*"
}
]
}
How about leaving the policy here for us to paste
ОтветитьIs there anything else that could be causing the issue? I have found that even when I edit the bucket policy, I get that exact same error.
Ответить