IIS 7.5 ApplicationPoolIdentity

All my web apps for Windows 2008 R2 IIS 7.5 are running with ApplicationPoolIdentity, should I change this or leaving the default option as it is

Can you give me an over view of Identities and what function do they perform
Who is Participating?
becraigConnect With a Mentor Commented:
If you have an application it can run as any user.

The identity allows you access aspect of the system and your network that SHOULD NOT be available to your IIS default user accounts.

If you do not utilize an identity for your application then you will have to worry about security issues where granting access to the application will require granting access to built in account.

This is NOT A SECURE model, it is best practice to run applications under an identity.
If you application needs to write a file it is easier to grant access to a secure (non-builtin user) than to grant access to a built in user that could be spoofed by an intruder.

The concept as well of an application pool identity is to ensure there is secure isolation for folders used by the app, there is no need to grant EVERYONE or NETWORK SERVICE etc access to application related folders which can lead to system compromise.

The long and short of it is, the application pool identity is an identity that allows your application to interact with your system and network etc in a controlled not easily manipulated manner.

As the article says
Using the App Pool Account as anonymous is a good idea because it allows you to secure your content at the NTFS level for just COMPUTER\Coke or IIS AppPool\Pepsi, and be assured that Windows file system security will prevent one company's anonymous app from reading (or otherwise affecting) its competitor's anonymous content.
Depending on the nature of your application.

However it is best practice to run your apps under an identity for issues such as impersonation and DB connectivity where there might be security concerns.

Here is a more lengthy explanation:

rakkadAuthor Commented:
Am still confused about the article,

What does the default ApplicationPoolIdentity do ?
David Johnson, CD, MVPOwnerCommented:
If your common app pool recycles then all sessions will recycle. If you have several websites this could be a problem.  If each website has its own apppool then a problem with one website won't affect the others.
rakkadAuthor Commented:
This proved useful and clarified my answer

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.