Blocking access to specific tables

50 views Asked by At

We have PowerBI Users that are now asking for access to our database as datareaders. I have added a new User, provided the Username/Password to them. However, I would like to block access to two specific tables due to sensitive information.

The entire database just uses dbo as the schema. How do I block access to specific tables?

1

There are 1 answers

0
Stu On

A simple deny should be all you need to do:

deny select on object::dbo.<table> to <user>;