N
Neon6mo ago
absent-sapphire

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

Did you find this page helpful?