Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How do I block users from seeing links to reports that they are not authorized to view

Posted on 2007-12-04
3
Medium Priority
?
256 Views
Last Modified: 2010-04-14
I have a group of employees that all need to view different reports. I have some of the teams divided up so that their reports are collected in the same folders. The problem is that one folder may contain 100s of reports and any given user only has access to a few of them. How do I set up Reporting services to let each user only see the reports that they have access to?

i.e. If there are three folders (fld1, fld2, and fld3) and 100 reports in each; and John Dow only has access to rpt1 and rpt 2 in fld1 then when he logs on he should only see the fld1 folder from the home page and once he clicks on that link he will only see links to his two reports inside that folder.

I also have .Net at my disposal. So if I can't achieve this through RS how do I build a work around?
0
Comment
Question by:rufassa
  • 2
3 Comments
 
LVL 17

Expert Comment

by:Daniel Reynolds
ID: 20405254
Are you doing this thru a Winform application or a Web application?
0
 

Author Comment

by:rufassa
ID: 20405314
I am currently just using the report manager for Reporting Services. But If I were to write a .Net app to create something then it would be web based.
0
 
LVL 17

Accepted Solution

by:
Daniel Reynolds earned 2000 total points
ID: 20405745
There are various ways to handle user authorization/security.
Here are some:
1) Create roles in SQL and assign the users of the database to a role.
     then Create Secure Views to specific data for each role

2) Create a User table of your own with an associated Role table of your own design and a reports table listing each report.  Create a Role_Report table that will have entries for each role and associated report that that role can view. Create your Web App to Select the viewable reports from the database you created by referencing the Role_Report Table.

As you can see it will take a bit of work if you have a wide variety of roles. It might help if you can limit the number of roles.
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

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

In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

782 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