S
S
shushpanio2018-10-31 13:09:34
PostgreSQL
shushpanio, 2018-10-31 13:09:34

How to hide tables for the user?

Good afternoon.
They didn’t ban me on Google - I didn’t find the information.
Created a user who needs to be given access to only a few views in the database.
The problem is that he can really view the content of only these views, but at the same time he sees tables that he should not (without the ability to view data)
And also sees other databases on this server (also without viewing the content)
Tell me how to hide other databases and tables from the user on server?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Melkij, 2018-10-31
@melkij

No way.

N
Nick V, 2018-10-31
@half-life

Write a simple rest service and provide it with an endpoint (s) that return data only from these views?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question