?
Solved

App Pool Identity - ApplicationPoolIdentity or NetworkService does it matter?

Posted on 2014-02-27
2
Medium Priority
?
353 Views
Last Modified: 2014-03-17
Hello all,

I have an important question in regard to security and my web app.   So I have a web app that I am using the Global.asax to encrypt via DPAPI the connectionStrings section of my web.config at the machine level.    I was getting an error could not access the web.config when deploying it to a server we have.   I also found other errors in the past where when i changed the identity from ApplicationPoolIdentity to NetworkService things were resolved permission wise.    Is there any drawback from doing this?   I want to make sure I have my ducks in a row if I need to explain why it's okay.
0
Comment
Question by:sbornstein2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 15

Accepted Solution

by:
achaldave earned 2000 total points
ID: 39892534
Did you check file permission on the folder where web.config file is located, IIS_IUSRS  local group should have read permission on the folder and web.config file.

Using network service as application pool identity can cause issues when you are trying to access resources from network using trusted connection option.
0
 

Author Closing Comment

by:sbornstein2
ID: 39934716
thanks
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

770 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