簡體   English   中英

使用 object URL pdf 使用 chrome 時,文件不會從 aws s3 下載。 我收到“失敗 - 禁止錯誤。適用於 Firefox 和 Edge

[英]Using the object URL pdf files are not downloading from aws s3 when using chrome. I get "Failed -Forbidden error. works in Firefox and Edge

將 Object Url 用於存儲在 AWS S3 中的文件時,pdf 文件在使用 chrome 時不會從 aws s3 下載。 我收到“失敗 - 禁止錯誤。適用於 Firefox 和 Edge

這與讀/寫權限有關,您需要檢查 S3 存儲桶權限和 ACL(訪問控制列表)修改它們,以便您可以“列出”和“讀取”但不能“寫入”。

這應該可以解決您的問題。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM