i am writing a windows service in C# where I have to load 3rd party as well as in house DLLs in separate App Domains -- so basically its kind of a plug in architecture, where each assembly is going to run in its own app domain to main code isolation
i want to run these app domains using separate user identities based on the functionalities of the dll. Is there a way to achieve this. can somone share a code example.
I've looked into impersonation, but it seems like with impersonation, I have to impersonate every thread that I create in the app domain.
how does IIS do it when executing an ASP .net application where a specific user identity is provided in web.config. Does IIS impersonate every incoming http reauest coming for this web app or is there one uber way to assign identity to the web app so that
all its requests will be running under this new identity and we don't have to impersonate every thread.
View Complete Post