Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

SSRS Expand / Collapse
Posted Wednesday, October 17, 2012 3:00 AM


Group: General Forum Members
Last Login: Monday, October 29, 2012 3:04 AM
Points: 11, Visits: 70

Anyone knows about this?
I want to make SSRS reports based on cube(SSAS).
Now further more I want to filter data. for example, specific operator can get his relevant data on reports.
-here it is required form authentication only. Not windows authentication.
How is it possible?
Please suggest.
Post #1373690
Posted Wednesday, October 17, 2012 8:30 AM


Group: General Forum Members
Last Login: Wednesday, January 16, 2013 4:23 PM
Points: 415, Visits: 2,333
If your operator is logging into a windows domain on the computer with the internet explorer they're using to view ssrs reports, you can make use of the "built in field" UserID. I used this built in field as the default value for a parameter and send it over via reporting services. However its worth mentioning that you can also specify parameters to SSRS manually via the URL so in a sense SSRS will be trusting the browser to tell it who the user is, and this will allow a hole for impersonation (security problem).

To demonstrate the unsecure method, I create a report that has a report parameter called ReportParameter1, that I set to have a default value in the expression builder as: =User!UserID and this value will be the username of who is running the browser. But I could spoof the user simply by building a url with the report parameter built in like so:


but I use it as the username is more for informational purposes and I'm not using it to expose sensitive info as whoever can run the report is already authorized to view the data so it works for my use case. It is in reality no security at all, just usable for information.

Apologies if this isn't what you were talking about.
Post #1373838
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse