Solved

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

Posted on 2007-12-04
3
246 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
[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
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 500 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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.
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
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

734 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