问题
Can anybody explain the detailed step by step procedure for form authentication in sql reporting services 2008 r2 .I am new to ssrs ,I need details about how to configure in rsreportserver,web.config files and how to write coding for authentication for ssrs .Is there any special procedure for ssrs forms authentication and how to verify in C# code and where to redirect ?
回答1:
See these links for some examples & other information from Microsoft:
http://msdn.microsoft.com/en-us/library/xdt4thhy(v=vs.100).aspx
http://msdn.microsoft.com/en-us/library/cc281383.aspx
http://msftrsprodsamples.codeplex.com/wikipage?title=SS2008R2%21Security%20Extension%20Sample
http://www.codeproject.com/Articles/675943/SSRS-Forms-Authentication
The high level summary is:
- Create custom authentication process (login form, credential source, backend code to wire it all together)
- Extend LogonUser() method of SSRS webservice
- Modify configs to expect forms auth, and allow your custom code to run within the app pool
I've done this a few times now, and honestly, it's easier than it sounds.
来源:https://stackoverflow.com/questions/23198735/forms-authentication-in-ssrs-2008-r2