I have given remote read-only database access to some users as follows:
Is it safe enough to give them postgresql direct access like the way I did it or should I secure the connection with SSH tunnels
Only if you enforce the use of SSL by postgres.
To enforce the use of ssl use hostssl
lines in your pg_hba.conf instead of plane host
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.