Solved

SQL Database access permissions for Reporting Services

Posted on 2016-08-16
4
18 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 45

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 45

Expert Comment

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

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In this article—a derivative of my DaytaBase.org blog post (http://daytabase.org/2011/06/18/what-week-is-it/)—I will explore a few different perspectives on which week today's date falls within using Microsoft SQL Server. First, to frame this stu…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

747 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now