External Connection Postgresql

Asked

Viewed 24 times

0

I have a java application on my computer running offline along with a database connection, with full access. I wonder how I would do so that if this program is installed on another computer, the person change the root password and try to synchronize with the bank q is in the cloud to have access, as I would cut this connection, not allowing external access.

  • Through external properties file, configured on the client’s machine. I suggest that this file be encrypted to not leave the password completely visible in Plain text.

  • Configure pg_hba.conf to allow connection as superuser only for administrator machines.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.