{"id":32301,"date":"2022-12-14T11:50:49","date_gmt":"2022-12-14T11:50:49","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=32301"},"modified":"2022-12-23T05:44:31","modified_gmt":"2022-12-23T05:44:31","slug":"amazon-s3-bucket-policy-for-only-mobile-app-access","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/amazon-s3-bucket-policy-for-only-mobile-app-access\/","title":{"rendered":"Amazon S3 Bucket Policy for only mobile app access"},"content":{"rendered":"\n<p>I am having lots of Videos and Images in AWS S3 bucket which is protected using following AWS s3 Policies<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Limiting access to specific IP addresses<\/li>\n\n\n\n<li>Restricting access to a specific HTTP referer<\/li>\n<\/ul>\n\n\n\n<p>But the prb is these Policies is not effective in Android app but working well in Websites. I am trying to work on the same issues.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">WORK IN PROGRESS<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">Reference<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>https:\/\/stackoverflow.com\/questions\/45566453\/amazon-bucket-policy-for-only-mobile-app-access<\/li>\n\n\n\n<li>https:\/\/docs.aws.amazon.com\/AmazonS3\/latest\/userguide\/example-bucket-policies.html<\/li>\n\n\n\n<li>https:\/\/stackoverflow.com\/questions\/17443789\/http-referer-header-in-android<\/li>\n\n\n\n<li>https:\/\/stackoverflow.com\/questions\/46834359\/amazon-s3-restricting-access-to-a-specific-http-referrer-on-mobile-apps<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I am having lots of Videos and Images in AWS S3 bucket which is protected using following AWS s3 Policies But the prb is these Policies is not effective in Android app but working well in Websites. I am trying to work on the same issues. WORK IN PROGRESS Reference<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_joinchat":[],"footnotes":""},"categories":[2],"tags":[],"class_list":["post-32301","post","type-post","status-publish","format-standard","hentry","category-uncategorised"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/32301","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=32301"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/32301\/revisions"}],"predecessor-version":[{"id":32302,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/32301\/revisions\/32302"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=32301"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=32301"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=32301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}