• caglararli@hotmail.com
  • 05386281520

What are the risks of using non-ssl connection between server and (externally hosted) database?

Çağlar Arlı      -    73 Views

What are the risks of using non-ssl connection between server and (externally hosted) database?

I am building an application using AWS Lambda and using a MongoDB database hosted directly with MongoDB (Atlas). For some reason, I get an error when trying to connect via SSL and I've been working on it for days without any luck.

What are the risks, I mean real-world risks including scenarios, of using a non-secure connection when connecting to the database?

I guess in theory it's open to man-in-the-middle and if the connection is intercepted somehow they could read the contents of the request, but how would this work practically between AWS Lambda and MongoDB Atlas (hosted within AWS)? Someone would have to have some form of access to the network in order to eavesdrop wouldn't they?