Amazon S3 Bucket Policy for only mobile app access

I am having lots of Videos and Images in AWS S3 bucket which is protected using following AWS s3 Policies

  • Limiting access to specific IP addresses
  • Restricting access to a specific HTTP referer

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

  • https://stackoverflow.com/questions/45566453/amazon-bucket-policy-for-only-mobile-app-access
  • https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-bucket-policies.html
  • https://stackoverflow.com/questions/17443789/http-referer-header-in-android
  • https://stackoverflow.com/questions/46834359/amazon-s3-restricting-access-to-a-specific-http-referrer-on-mobile-apps
Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x