S3 access: 'public' not working for files from internet URLs

与世无争的帅哥 提交于 2019-12-11 02:26:23

问题


I am trying to use ink file picker's library to allow users to upload images to my S3 bucket. This works great for files from the file system, but files from the internet somehow don't have their permissions set correctly, so the returned path is not publicly readable.

            store_options = {
                path: 'product/'+product_url+'/',
                access: 'public'
                };

            filepicker.pickAndStore({},store_options,function(InkBlobs){
                console.log(JSON.stringify(InkBlobs));
            });

There aren't a lot of knobs to turn here -- anyone have some advice?

来源:https://stackoverflow.com/questions/17417381/s3-access-public-not-working-for-files-from-internet-urls

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!