[Webinar] Streamline your web hosting managementRegister Today

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
?
259 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

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

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

Ready to get certified? Check out some courses that help you prepare for third-party exams.
The PowerShell Core 6.0 of .NET release is just the beginning. The upcoming PowerShell Core 6.1 would have artificial intelligence and internet of things capabilities. So many things to look forward to in the upcoming release.
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.
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.
Suggested Courses

591 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