Use a service security identity to gain access to resouces via impersonate RRS feed

  • Question

  • I am trying to work out if the following is possible.
    We have a service which authenticates users for access to an application. It is run under a user account that has complete access to the database where the applications data is stored. The user running the client application does not have access to the database.  What I would like to do is pass information from the service to the client application that will allow me to impersonate the user running the service and then connect to the database using integrated security. I would like to pass a security context from the service to the client rather than storing and passing a username and password which would allow me to easily impersonate a user.

    Any help or idea's greatly appreciated.
    Tuesday, February 9, 2010 11:12 AM