roles and user creation

  • I am trying to create a minimum privilege (read only) role which can select from a few tables, through ODBC for an application. When I do this though and test the ODBC using EXCEL, I can see several sys views and also dm views and master db objects.

    How can I tie all of these down without individually 'revoking' the select access to these on the role?

    Can I create a role which by default will do this? See only those tables that I allow it to, and NOTHING else.

    Thanks in advance.

    sk

  • By default all users created are added to the PUBLIC role. This is because there is a need for some access to metadata for all users. There are several DMV's that all users can see, but internally the results are filtered to only show information about that users connections. For example, sys.dm_exec_connections will only show the connections for that session.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply