Solved

IIS 7.5 ApplicationPoolIdentity

Posted on 2014-03-10
5
489 Views
Last Modified: 2014-03-15
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
0
Comment
Question by:rakkad
  • 2
  • 2
5 Comments
 
LVL 29

Expert Comment

by:becraig
ID: 39919009
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:

http://blogs.technet.com/b/tristank/archive/2011/12/22/iusr-vs-application-pool-identity-why-use-either.aspx
0
 

Author Comment

by:rakkad
ID: 39919027
Am still confused about the article,

What does the default ApplicationPoolIdentity do ?
0
 
LVL 29

Accepted Solution

by:
becraig earned 500 total points
ID: 39919066
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.
0
 
LVL 78

Expert Comment

by:David Johnson, CD, MVP
ID: 39919264
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.
0
 

Author Closing Comment

by:rakkad
ID: 39931120
This proved useful and clarified my answer

Thanks
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now