Is there protection for files generated by pg_dump?
Anyone who has access to this file can restore it to any other database with pg_restore?
Is there any protection in this file, some kind of password or something?
Is there protection for files generated by pg_dump?
Anyone who has access to this file can restore it to any other database with pg_restore?
Is there any protection in this file, some kind of password or something?
postgresql
for this purpose, what you can do to "improve" the security of your files, is to use an external program to encrypt them, for example:
pg_dump -U postgres ... | encrypt > meu-arquivo.sql.dump
Good luck