What account do I need to set asp.net permissions in .net 4 on Win7?

I was stuck working on XP Pro for what seems like forever, and only recently switched to Win 7. Starting IIS 7.5. It is very difficult for me to understand which account needs access these days, so that the ASP.NET website starts / reads / writes, etc.

I end up upset and just give “everyone” access, but I'm not very happy with it. Which account should I grant permissions, so that I get this right once and for all.

Greetings

+5
source share
3 answers

ApplicationPoolIdentity. .

, -, DefaultAppPool, "IIS AppPool\DefaultAppPool" "" .

IIS_USERS , , , - , , , NETWORKSERVICE XP/2003.

+2

" ", ; ApplicationPoolIdentity IIS. IIS_IUSRS.

IIS 7.5 , . ( , . http://msdn.microsoft.com/en-us/library/xh507fc5(v=VS.100).aspx), , .

, - . http://learn.iis.net/page.aspx/624/application-pool-identities/. - , , " " .

, :

  • , IIS_USRS
  • , , .

, IIS. , "", "", " IIS"; , .

:

enter image description here

, . " ", :

enter image description here

, .

WMI: . http://technet.microsoft.com/en-us/library/cc771170(WS.10).aspx.

+4

By default, the pool works with its own automatic account (IISAPPOOL \ DefaultAppPool for ex), but you can change it in the pool configuration. In addition, the account belongs (by default) to the IIS_IUSRS group.

enter image description here

+2
source

All Articles