Handling security on shared data sources
In the Authorizing users for accessing reports via SSRS roles recipe, you saw how to manage access to folders via roles. Now take a moment to think all the way back to Chapter 3 , Advanced Report Authoring with SQL Server Data Tools, specifically the How to publish reports recipe. In it, the reports you deployed were placed in a folder named Chapter 3 , Advanced Report Authoring with SQL Server Data Tools. However, the data sources went into their own Data Sources folder. It is quite common in an organization for all data sources to go into a shared folder.
How, then, can you allow a user to access some of the data sources in a folder, but not all of them? Well, fortunately that is quite easy, as you'll see in this recipe.
Getting ready
To prepare for this recipe, you'll need a few things. First, you'll need a test account, which you will remove from certain roles (Obviously, you won't want to do this to yourself.) The account...