Grant Select on a view not base table when base table is in a different database

前端 未结 10 1897
广开言路
广开言路 2020-11-30 07:28

I have a view which is selecting rows from a table in a different database. I\'d like to grant select access to the view, but not direct access to the base table. The view

10条回答
  •  遥遥无期
    2020-11-30 08:10

    The way I have done this is to give the user permission to the tables that I didn't want them to have access to. Then fine tune the select permission in SSMS by only allowing select permission to the columns that are in my view. This way, the select clause on the table is only limited to the columns that they see in the view anyways.

    Shaji

提交回复
热议问题