Solved

SQL Database access permissions for Reporting Services

Posted on 2016-08-16
4
24 Views
Last Modified: 2016-10-08
Dear Team,

I’m not too experience with access permission of SQL Servers and I’m currently in need of some advice.
We have a team of about 2 or 3 employee’s which are going to be using SQL reporting services and accessing a selection of databases in our sql server. I would like to know what is the best method to give them permissions to use this tool against only the selected databases they’re going to be using. (If possible so that they won’t see the other databases either.)
There are databases in the sql server that are very critical for the company and we would like to do this as safe as possible.

Thank you.
0
Comment
Question by:exTechnology
  • 2
4 Comments
 
LVL 10

Assisted Solution

by:Marcjev
Marcjev earned 250 total points (awarded by participants)
ID: 41758276
There are 2 levels of security in place here which you have to consider: security at the sql level and security in the reporting server level.

In the SQL security you can grand access to tables based on user and/or groups. This will allow users to see data in tables and/or modify them accordingly.

This security is taken into account when you opt to run the 'data connection' to sql server as the user that is running/viewing the report. Thus, you would need security at the database level.

Second, you can have the designer of the report use some other credentials which have been configured in SQL server, for example read access in the database overall.
Second you can grant or limit access to this report in reporting services. So at the report level you can grant access to who may open and look at the report.

So it's very granular what you can do.

The most simple solution is to let the reports be designed by a competent designer and let other users only run the reports they are granted access to. Granting rights at the database/user/table level is more secure, but also much more complicated to manage. Often limiting access to certain reports is enough security.
0
 
LVL 47

Accepted Solution

by:
Vitor Montalvão earned 250 total points (awarded by participants)
ID: 41784708
GRANT SELECT ON <database name> TO <username>

This will give the user read only access on the desired database.
0
 
LVL 47

Expert Comment

by:Vitor Montalvão
ID: 41804822
exTechnology, your issues has been solved?
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Inserting oldest record into new table. 5 24
always on switch back after failover 2 35
Update a text value in another table 10 40
Create snapshot on MSSQL 2012 3 18
Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

772 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