Solved

SQL Database access permissions for Reporting Services

Posted on 2016-08-16
4
38 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 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 50

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 50

Expert Comment

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

Featured Post

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

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

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Viewers will learn how the fundamental information of how to create a table.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

729 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