amazon web services - You are not authorized to perform this operation -


i use aws put object , set object public , there errors can't download successfully. errors this:

enter image description here

unauthorizedaccess not documented error code in standard (global) s3 documentation.

however, did find reference on aws forum. if using aws china (beijing) explanation.

in accordance chinese law , regulations, if use aws (china) host website providing non-commercial internet information services, must undertake filing procedures non-commercial website (an “icp recordal”) @ relevant government authority. if use aws (china) host website providing commercial internet information services, must obtain value-added telecommunications license commercial website (an “icp license”) relevant government authority. may require produce icp recordal or icp license, applicable, before use aws (china) host public content.

https://forums.aws.amazon.com/thread.jspa?messageid=689267&#689267

the following google translation actual chinese documentation.

the following amazon s3 features either unavailable in beijing region or require icp license:

amazon s3 objects honor anonymous requests if object owner’s amazon aws account associated valid icp license. result, hosting static website amazon s3 bucket , using pre-signed urls require icp license.

http://docs.amazonaws.cn/aws/latest/userguide/s3.html (translated)

this implies may able access content using authorization: header mechanism permitted in signature version 4, since older signature version 2 not supported in china, or other s3 region launched in 2014 or later.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -