N
Neon8mo ago
environmental-rose

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
like-gold8mo ago
It should be as secure as you make it since you define how and when the queries run
environmental-rose
environmental-roseOP8mo 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
like-gold8mo 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?