For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic Crystal Reports > May 2005 > integrated windows authentication









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author integrated windows authentication
christian kuendig

2005-05-30, 8:58 pm

There is a problem using ASP.NET and integrated windows authentication to
authenticate against a database in the pull model with CR9 (probably with
the others as well).
Unlike posted by some BLOGers, basically it works. The problem is on a
production environment if you use the impersonation model in web.config to
get aspnet_wp.exe to impersonate the executing thread (not process) to a
user which has the rights to access the db. Crystal 9.0 (at least when
generating a pdf) somehow manages it to throw away the security token and
comes along with the user aspnet_wp runs under. Probably because it takes a
thread from the thread pool (for what ever damn reason they do that in a
syncronous call!).

does anyone have a solution for that without setting the whole aspnet_wp
process to the user with the rights to the db? We got several apps on the
same web server and we would absolutely prefer some isolation among them (as
seen from the database perspective)

regards

Christian


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com