N
Neon5mo ago
extended-salmon

Security for Public Neon (Free or Launch tier)

Been reading a lot about neon and am super excited to try to use it for a side project! Was curious on security though, I’d like to use cloudflare workers but traditional advise has been to never expose a database publicly (I’m sure exceptions occur). So was wondering what I should do to secure this. I don’t need to know the secret sauce, but wondering how neon secures databases that are publically available to Ddos attacks.
3 Replies
deep-jade
deep-jade5mo ago
@A-A-RON We've an example at https://github.com/neondatabase/examples/tree/main/with-rust-cloudflare-workers which shows how you can securely use Neon in Cloudlfare Workers.
extended-salmon
extended-salmonOP5mo ago
Thanks @Rishi Raj Jain! Any other recommendations on security best practices with neon and the serverless sdk? I don’t use Rust but did see the JavaScript version in that same repo
deep-jade
deep-jade5mo ago
It'd just to be do everything database specific in the API routes / on the server just like you'd do it if you were using the pg package.

Did you find this page helpful?