How to secure my postgreSQL on Railway?

^
19 Replies
Percy
Percy17mo ago
Project ID: N/A
Percy
Percy17mo ago
You might find these helpful: - TZ env var? - Is this normal ? - NixPacks are huge
⚠️ experimental feature
Croissant
Croissant17mo ago
N/A
Brody
Brody17mo ago
And what makes you think that's it's insecure?
Croissant
Croissant17mo ago
Every IP could attempt to connect the database
jackson
jackson17mo ago
at the moment there is no way around that
Brody
Brody17mo ago
Ah yes you are inquiring about internal networking
jackson
jackson17mo ago
soon™️
Croissant
Croissant17mo ago
No, my application hosted outside railway Just to host database on Railway
jackson
jackson17mo ago
just don't send your creds on a public discord server and don't commit them on github and you'll be fine
Croissant
Croissant17mo ago
thanks!
Brody
Brody17mo ago
If that's the case what Jackson and I said don't pertain to your question anymore This does answer it though
Croissant
Croissant17mo ago
Yeah but I am looking forward to protect it even more
jackson
jackson17mo ago
🙏
Brody
Brody17mo ago
There's currently no whitelisting, and as far as I know, no plans for it
jackson
jackson17mo ago
once internal networking rolls out im sure that will be a highly requested feature (im fairly certain it is already on the canny board), so i think it's just a matter of time
Brody
Brody17mo ago
https://feedback.railway.app/feature-requests/p/limit-db-access-to-trusted-ip under review with 8 upvotes, but since your app is hosted away from railway the private networking thing doesn't pertain to you
Croissant
Croissant12mo ago
If my app is hosted at railway, same as my db, how do I use private networking to connect my db?
Brody
Brody12mo ago
databases do not support private networking yet