iis - Network service vs AspNet (Asp.Net Machine Account) -


I have a small asp.net application that writes logs in a 'log' on the file system.

I have modified the permissions in the ASP.Net machine account for this folder which works properly. However, when I try to deploy it on another server, it does not work. I have to give the same modified permission in the network service account. Why?

Because it is the account under which the application pool is used to run. So this is the case on IIS 6 and 7. On workspaces with IIS5, you will not have application pools, and therefore the ASP.NET worker process runs under local ASPNET account.

In addition, it is better to give permissions to IIS_WPG at the local group, from which the network service is a member.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -