Solved

App Pool Identity - ApplicationPoolIdentity or NetworkService does it matter?

Posted on 2014-02-27
2
344 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
2 Comments
 
LVL 15

Accepted Solution

by:
achaldave earned 500 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

860 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