Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8145907
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T13:48:50+00:00 2026-06-06T13:48:50+00:00

My web appkication has the following set up.. WCF application hosted on IIS7 Basic

  • 0

My web appkication has the following set up..

  • WCF application hosted on IIS7
  • Basic HTTP binding – SecurityMode = TransportCredentialOnly and ClientCredentialType = Windows.
  • .Net 4.0
  • The app runs in a .Net 4.0 Application Pool using “ApplicationPoolIdentity”.
  • IIS connects to the file system using “Application Pass Through” authentication.
  • The client and service both run under IIS – that is the client is a webste and the service is an IIS hosted WCF service.

What I would like to understand is that what user accounts are used at the various points in authenticating too and using the service.

  • I understand that ApplicationPoolIdentity is a built in Windows account that is generated for each created application pool – is this the account under which w3wp.exe will run for the website?

  • No credentials are specified between clent and server – and this is the most interesting point. When my client connects to my WCF application what identity is used to authenticate to the service. I presume the application pool identity of the app pool hosting client website?

  • If so then what would happen if the two sites use two differnet app pools?

  • Or does the service just require a valid account on the machine (or domain) and that is good enough to authenticate?

  • If I changed the application pool to use a specific user account does this change anything? Again I presume as long as the client passes a valid machine account is that ok?

Also,,,

  • What identity is used for the file system?

  • What permissions does “ApplicationPoolIdentity” have on the machine and for the file system.

  • Finally in the case of SQL Server Integrated security what identity is passed through to SQL server if my service talks to an SQL Server database.

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T13:48:52+00:00Added an answer on June 6, 2026 at 1:48 pm

    I understand that ApplicationPoolIdentity is a built in Windows
    account that is generated for each created application pool – is this
    the account under which w3wp.exe will run for the website?

    Yes it is. That is called a virtual account which allows IIS to create unique accounts for each defined application pool, also a security identifier is created representing the application pool name. Keep in mind that this is not real user account. For more information about it you can check the following link: http://technet.microsoft.com/en-us/library/dd548356.aspx

    No credentials are specified between clent and server – and this is
    the most interesting point. When my client connects to my WCF
    application what identity is used to authenticate to the service. I
    presume the application pool identity of the app pool hosting client
    website?

    Yes, same rule applies as for using Local Service account or Network Service account.

    If so then what would happen if the two sites use two differnet app
    pools?

    Nothing, unless you elevate the rights of those application pools identities.

    Or does the service just require a valid account on the machine (or
    domain) and that is good enough to authenticate?

    Then you are not going to use the default virtual accounts created for your application pools. Instead you will associate those application pools with existing windows accounts. Keep in mind what sort of permissions those windows/domain accounts have.

    If I changed the application pool to use a specific user account does
    this change anything? Again I presume as long as the client passes a
    valid machine account is that ok?

    It would work just fine as long as those accounts will have permissions according to your needs.

    What identity is used for the file system?

    Define with more details what you mean by file system; are you referring strictly at your application directory?

    What permissions does “ApplicationPoolIdentity” have on the machine
    and for the file system.

    ApplicationPoolIdentity is a member of Users and IIS_IUSRS groups so will “inherit” the permissions of the previously mentioned groups.

    Finally in the case of SQL Server Integrated security what identity is
    passed through to SQL server if my service talks to an SQL Server
    database.

    ApplicationPoolIdentity or the account you have configured to be used by your application pool.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a web application that has one set of files used by 50+
I'm working on an interactive web application, currently set up on http://picselbocs.com/projects/goalcandy (user: demo@demo.com,
I have a self-hosted WCF web service running, and an Android client application. I
I have the following setup: Web.config has customErrors mode=Off Global.Application_Error() event calls a custom
My web application has got a lot of service tables/entities, such as payment_methods ,
A 3rd party web application has a cross-scripting security issue. There is one page
The JavaScript in my web application has grown into one huge file. I want
I have a web application developed with Spring 2.5. The application has numerous controllers,
I am working on a web application using ASP.NET 3.5. The application has hundreds
I've come across an issue where a web application has managed to create a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.