Vitas
Vitas

Reputation: 253

wcf user account

I have a WCF service that needs to access some files outside its folder. IIS7 does not allow to access the files. I guess I need give a read permission to these files. What user account does wcf use?

Upvotes: 0

Views: 171

Answers (1)

John Saunders
John Saunders

Reputation: 161811

The account that WCF uses depends on how it is hosted and configured. If it is hosted in IIS, for instance, it uses the user account of the Application Pool serving the virtual directory in which the .svc files are placed.

Upvotes: 2

Related Questions