Monday, March 12, 2012

Report Builder and custom security - can I pass credentials as a parameter?

Hello,

I'm analyzing how our company can use security extensions along with the Report Builder. While testing custom security extensions I found that Report Builder is prompting me for the user name/password whenever I launch it from the browser. This is great, but I also need to launch it from the win forms application that already has been authenticated. Can I pass a user name/password as a parameter to the report builder so it does not show login dialog when I launch it from the application?

Thank you,

Leonid.

Hi,

Slightly off topic - we are setting out to do exactly the same thing - a custom security extension to an ADAM instance and with Report Builder access needed as well.

How hard was it to implement the extension? I have been looking here : http://msdn2.microsoft.com/en-us/library/ms152825.aspx. It does not seem so hard, but I am concerned in general about anything new.

Good luck with getting and answer to yoru question.

Mark

|||

I played with a sample code from Microsoft: http://msdn2.microsoft.com/en-us/library/ms160724.aspx, so I didn't write a single line of code.

Configuring is tedious, you should be very careful following all the steps they describe, but other than that - everything works fine. I haven't tried to revert it back, though :)

Leonid

P.S. In the instructions I skipped the following step because they obiously fixed CreateUserStore.sql script to do detect ASP user name automatically and forgot to update the documentation:

"Locate "LocalMachine" towards the end of the script and replace it with your own computer name. For Windows 2003 users, replace LocalMachine\ASPNET with NT AUTHORITY\NETWORK SERVICE (except when in IIS 5 compatibility mode). "

|||

Custom security should work with report builder - including the new in-model security

Report builder will always prompt for logon credentials even though you may have been already authenticated to the server - it is due to a limitation of the ClickOnce technology that report builder uses.

No comments:

Post a Comment