?
Solved

Security Report

Posted on 2001-09-07
1
Medium Priority
?
230 Views
Last Modified: 2012-05-04
We have to generate a report of who has what access to what tables in a database that contains confidential information.  I have go it to the point of seeing what roles can see what obects by using sysobjects, sysusers and syspermissions.  Now can I get it to show what access each of the roles have to the tables.   I see the binary columns (seladd,selmod) in the syspermission tables but I can not select them because they just return null.   Is there some way that I can get what I need out of SQL server?
0
Comment
Question by:curtis591
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 3

Accepted Solution

by:
mathavra earned 150 total points
ID: 6465565
Have you tried sp_helprotect store procedure. It gives necessary output for the whole database if you do not pass any "objectname" or "username".

If you want to find out how to convert the binary values from seladd, selmod column, look at the code in sp_helprotect procedure code. It uses a table called "spt_values" in master to convert them.

Hope this helps.

Mathav
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question