How to prevent a user from being able to see other databases and the tables from other databases?

前端 未结 3 443
暗喜
暗喜 2021-02-01 05:19

I want to create a postgres user that can access only one database on the postgres server at all.

Currently my flow is:

create database database1;
create         


        
3条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-01 05:56

    REVOKE the SELECT permissions on the information_schema and some sections in the system catalog.

提交回复
热议问题