# Whitelist twitch.tv for my mongodb

**URL:** <https://discuss.dev.twitch.com/t/whitelist-twitch-tv-for-my-mongodb/46948>\
**Category:** Extensions\
**Created:** [August 16, 2023, 6:41pm UTC](https://discuss.dev.twitch.com/t/whitelist-twitch-tv-for-my-mongodb/46948 "2023-08-16T18:41:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ohadialex](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/ohadialex/32/25014_2.png) [@ohadialex](https://discuss.dev.twitch.com/u/ohadialex)\
**Post date:** [August 16, 2023, 6:41pm UTC](https://discuss.dev.twitch.com/t/whitelist-twitch-tv-for-my-mongodb/46948/1 "2023-08-16T18:41:37Z")

</div>

Hi there,

I have a backend hosted on AWS that is used for my twitch extension. The mongodb is running on an EC2 Instance, and I use it to make API calls to store things in the database running on the ec2 instance.

I want to improve the security of this DB by whitelisting ‘[twitch.tv](http://twitch.tv)’ on AWS as in the security groups, as a source IP to enter my database port xxxx. Are these the normal steps one would go through to secure their db?

I’m open up to discussion on this, since I am currently in effort to increase the security.
