Reputation: 993
I'm hosting a Static Website on AmazonS3 (http://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html).
However, I wish to grant access to my page ONLY by authorizing and subsequently authenticating users.
What services are available (Heroku, etc.,) that allows me to do that? I would like the option of having login using their social networking IDs (facebook, twitter, etc.,).
Thanks for your direction on this.
Upvotes: 4
Views: 4382
Reputation: 269340
The scenario you describe cannot be achieved purely via Amazon S3.
While there is security available in Amazon S3, it uses either:
You will need an application that accepts their login and verifies the level of access they are permitted. The application can then generate pre-signed URLs to grant access to specific objects in Amazon S3. The traditional way to provide such an application is on a web server running on Amazon EC2. (An alternative is to use Serverless code. Here is an example)
You could use Web Identity Federation to authenticate users via Facebook, Google and Amazon, as part of the above process.
Upvotes: 3