aws-samples / aws-samples/amazon-elasticsearch-lambda-samples
js folder exposed to anonymous users
Open
- Dominant language
- JavaScript
- Stars
- 386
- Forks
- 170
- PR merge metrics
- No merged PRs in 30d
Description
I am new to web development and used this tutorial to build my first static website with AWS. I successfully completed all modules and have a working webpage with user auth using AWS Cognito.
I added another webpage that uses AWS Elasticsearch to search IMDB movies. I put the search.js, which includes my api gateway endpoint in the js folder.
Now a user can use my s3endpointwebsite.com/js/search.js and see my api gateway endpoint and my cognito ids.
How do I prevent someone from missing my api gateway endpoint?
Contributor guide
Assessment
This issue has not been assessed yet.