?
Solved

SQL Database access permissions for Reporting Services

Posted on 2016-08-16
4
Medium Priority
?
44 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
[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
  • 2
4 Comments
 
LVL 10

Assisted Solution

by:Marcjev
Marcjev earned 1000 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 51

Accepted Solution

by:
Vitor Montalvão earned 1000 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 51

Expert Comment

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

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
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 UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

764 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