0

Apologies if this is a painfully obvious webdev question, but I'm new to the field and still trying to figure out the basics. I'm developing an S3 static website with AWS Cognito for user authentication. I have areas of the website that I only want registered users to be able to access, but I'm not sure how to begin limiting that.

I've looked into limiting the content through CloudFront signed cookies, but the feature is relatively undocumented and I'm not sure if it's even what I want.

If someone could point me in the right direction, it would be greatly appreciated! Thank you!

  • Your question is not at all obvious. There are many many ways to do these type of things, but this is too broad of a question for StackOverflow. You should just Google these concepts. Look at the documentation for the user authentication you have mentioned. Here's some info on how to ask questions: http://stackoverflow.com/help/how-to-ask – sheriffderek Mar 17 '17 at 03:22

2 Answers2

0

You can restrict the access in aws cognito authentication using role based tokens for each user, Read more on this here

Sanket_patil
  • 301
  • 1
  • 10
0

IAM roles might prove beneficial for you. To delve deeper, go through this question

This might prove helpful to you and broaden your horizon

Community
  • 1
  • 1
Anshul Verma
  • 1,065
  • 1
  • 9
  • 26