Solved

Security Report

Posted on 2001-09-07
1
228 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 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

732 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