Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29245

Access control for the AWS EC2 based REST APIs

$
0
0

I have a web server backend implemented in node.js. Web Backend exposes REST APIs which are consumed by the web client running in a web browser.

I want to add access control for the REST APIs based on the currently logged in user.

For example: Administrator can access few REST APIs which are not accessible to other users.

For user registration and login I am using AWS Cognito and IAM role.

I can control access to AWS services but not at granular level for specific REST APIs running in EC2.

This can be achieved using AWS API Gateway, but is there anyway we can implement in EC2 only.


Viewing all articles
Browse latest Browse all 29245

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>