Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

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

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

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

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
SSC-Addicted

SSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-Addicted

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:

http://your_report_server/ReportServer/Pages/ReportViewer.aspx?/Testfolder/TEST1&rs:Command=Render&ReportParameter1=bogus_username

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