Is it possible to hide the existence and access to databases (including their schemas, tables, etc.) from certain users in Amazon Redshift . By default, it seems that each user can see other databases, even if he does not have permission to select data or any other (non-standard) privileges.
I tried
REVOKE ALL PRIVILEGES ON DATABASE testdb FROM testdbuser;
and a similar, but still testdbuser can connect to the testdb database and even see all other objects in its object browser in the SQL tool (here: Aginity Redshift Workbench).
Ideally, testdbuser will not be able to see anything else, except that it received explicitly granted access.
Note. testdbuser is not superuser.
Thanks!
source
share