I would like to host a static website at amazon S3, but I need to restrict access to it to certain users. This maybe by ip address or by amazon credentials (only logged in users can access the bucket’s content.
Is this possible?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes it indeed is possible. Better starting point for you would be read S3 access control.
But by default the buckets created on S3 aren’t public. So the default behaviour should be that it will only be accessible to person/program who/which has knowledge of your access and secret key.
You may also edit bucket permission in order to give access to a particular AWS account or an email id.
In order to restrict access to certain IPs, you may create additional bucket policy.
Restricting Access to Specific IP Addresses
For more, read here and here.