Security measures on Vercel Serverless functions
Hi,
Could anyone share guidance on securing Neon when using it with Vercel serverless functions?
I’m a bit concerned about having our database accessible over the public internet.
Thanks in advance!
3 Replies
like-gold•8mo ago
It should be as secure as you make it since you define how and when the queries run
environmental-roseOP•8mo ago
@daveycodez what do you mean? if someone finds the connection string of the db then he is gonna be able to connect to it..
like-gold•8mo ago
Your connection string shouldn’t be exposed to the client from a Vercel function since they run on the server