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
flat-fuchsia•6mo ago
It should be as secure as you make it since you define how and when the queries run
absent-sapphireOP•6mo 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..
flat-fuchsia•6mo ago
Your connection string shouldn’t be exposed to the client from a Vercel function since they run on the server