I am using Forms Authentication against AD and everything is working perfectly. I have a reportviewer control that I would like to impersonate the authenticated user when making the report request. Seems easy enough, and there are all sorts
of combinations available, but I am at a loss to *easily* accomplish this. When using just the normal Impersonate="true" in web.config, it impersonates the service account asp runs as. In order to impersonate with reportviewer the only way I see
to get the credentials in there is to know the username / password / domain. I found a solution that accomplishes this (by encrypting all three and putting them in a cookie, then decrypting them on the return call to put in the ServerCredentials).
Note - RS is running out of the box, in native (non sharepoint) mode, using Windows Authentication. I need to keep it this way as users will still be hitting the native Portal and I do not want to penalize them to enter their credentials each time
I imagine this scenario is covered in the design of RS, but I just haven't figured out how to do it. If anyone can offer suggestions I am all ears. :)
Thanks in advance,
View Complete Post