mac

mac

  • NA
  • 1
  • 0

WCF Impersonation for network service

Mar 25 2009 7:51 PM

Hi

I have WCF service that calls Word Interop to modify Word document. It works fine on my machine as i have appropriate settings for Word in dcomcnfg.

When i deploy to server (widows 2003) that has IIS 6.0, WCF service runs under Network service account. Though i have given all the permissions to network service for MS word, it still has some issues as network service is low privilege account.

Is there a way i can have WCF service run under automation user impersonation with username and password that i have created instead of network service? Something similar to Identity impersonate = true in asp.net web.config?

My client is windows service application that consumes WCF that i have developed.

Any help is greatly appreciated.

Regards
Mac