Permanent links to media

0

Hi I ran out of storage on my website, I'm trying to upload .mp3 files to Amazon SW and use the links on my public website. The links work but only for a short amount of time. All of my permissions are set to public. Also, when I click the link provided I get this error message :

This XML file does not appear to have any style information associated with it. The document tree is shown below. <Error> <Code>AccessDenied</Code> <Message>Access Denied</Message> <RequestId>KQK7ST3WTPAG6P9N</RequestId> <HostId>v7H6Np+rtuNvDcPKIpg8r3mlWbN733GrdUZHXtXZpErRtRi3pG6R2cenN6l62h6Hb0b/aur4Ucw=</HostId> </Error>

I'm wondering how to create a permanent link to the media? Thanks.

1개 답변
1
수락된 답변

Hi,

assuming if you don’t have sensitive information and that you really want public files (everybody in the world will be able to see/download), then you should follow this guide: https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteAccessPermissionsReqd.html

Could be you made bucket public but haven’t added bucket policy or ACLs.

profile picture
전문가
답변함 일 년 전
profile pictureAWS
전문가
kentrad
검토됨 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠