Ask a Question related to ASP.NET Security, Design and Development.
-
Samuel #1
Replace Windows Logon Box for SQL Reporting Services
I want to customize the windows authentication of my SQL Reporting Service,
so that I can:
1. Replace the Logon Popup Box with my own webform
2. Maintain the user profile in my Windows 2003 server
3. User can logout even using Windows Authentication
I tried to make a separated web application for Form Authentication on my
web server ([url]http://localhost/auth/login.aspx[/url]), it will be used as first page
to access my report server.
Then I use the LogonUser API from ADVAPI32.dll for password verification
like the following code:
Dim t1 as Integer
Dim bOK As Boolean = LogonUser(userID, domain, password, 2, 0, t1)
Dim pt1 As IntPtr = New IntPtr(t1)
Dim wi As WindowsIdentity = New WindowsIdentity(pt1)
Dim wp As WindowsPrincipal = New WindowsPrincipal(wi)
HttpContext.Current.User = wp
FormsAuthentication.SetAuthCookie(context.User.Ide ntity.Name, False)
Response.Redirect("/reports")
But the Identity used in Reporting Service is still my local machine's user
id, not the one I logon in my customized login page.
What should I do? is there any other way to do it?
Can I use impersonation to do it? But the impersonated user is dynamically
change according to the logon user. How can I do it? Thanks.
Samuel Guest
-
How to use Windows credentials to call reporting services web service thru Coldfusion
I am currently looking at calling reporting services 2005 web service with coldfusionMX 7 using Windows integrated security from Mister X . I... -
How to use Windows credentials to call reporting services web service thru Colfusion
I am currently looking at calling reporting services 2005 web service with coldfusionMX 7 using Windows integrated security from Mister X . Any... -
Merge Replication & Reporting Services in MYSQL
Hi All, We considering using MYSQL instead of SQL Server 2005. Does MYSQL supports the "Merge Replication" & the "Reporting Services" Feature of... -
Reporting Services rendering to non-Windows clients
I have an ASP.Net control written in C# that renders reports via Reporting Services through the Response.BinraryWrite method. I do set the content... -
Reporting Services - ReportViewer CSS ?
Hi, Am using the Report Viewer component in the Microsoft Reporting Services assembly. I've compiled it, and am integrating it fine with my apps...



Reply With Quote

