Solved

Security Report

Posted on 2001-09-07
1
225 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
1 Comment
 
LVL 3

Accepted Solution

by:
mathavra earned 50 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Server Generate Scripts Fails 5 35
I Need a T-SQL Query (Union or Intersect, or...?) 6 39
SQL Help 27 45
sql select record as one long string 21 23
Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

776 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