???? ID: 317012 - ????? ???????: 04 ?????? 2010 - ??????: 2.0 ASP.NET ??? ????????? ?? ?????? ?????
?? ????? ?????????? ???? ??????? ????????? ???? ?? ??? ?? ?? ??? ?? ????? ?????? outlines ?? ?? ??? ????????? ??? ?? ?? ?????? ?? ???? ?? ??? ??????? ?? ??? ???? restrictive ?? ????? ???? ??? Microsoft Windows 2000 ?? Microsoft Windows XP ?? asp.NET ?? ??????? ???????, ??? asp.NET ???? ??? ????????? ??? ?? ?? ????? ????????? ??? ??? ?? ????????? ?? ????? ???? ASPNET ???? ??? ?? ??? ??????? ???? (???? ???? ??? ?? aspnet_wp ????) ???????? ??? ??? ASP.NET ?? ???? ?????????, ??? ????????? ????? ?? ??????, ?? ?? ?????, ???????????? ?? ???? ?????? ???????? ?? ?? ????? ?????? ???? ??? To provide a less-privileged default installation, the release version of ASP.NET uses the weaker ASPNET account, which is suitable for most Web applications. ???:By default, if you are using Microsoft Internet Information Services (IIS) 6.0, your ASP.NET Web applications will run in the security context of the NetworkService account. ???? ???????Configure the process identityYou can configure the process identity in the<processmodel></processmodel>section of the Machine.config file in the Config subdirectory of the installation root directory. The?????????? ????????????attributes control the identity of the process. The default values for these attributes are as follows:If you want to use a process that has more access rights, you can set the?????????? ???attribute to??????, which causes the ASP.NET worker process to run with the same identity as the Inetinfo.exe process. The Inetinfo.exe process runs by default as the System identity. ?? ?????? ????? ?? ????? ???? ?? ??? asp.NET ????? ????????? ?? ???????? ???? ?? asp.NET ????? ????????? ????? ???? ???? ??? ???????? ?? ??????? ???????? ??? ?? ?????????? ?? Windows 2000, Windows XP, ?? Microsoft Windows Server 2003 ??? ??? ???, ?? ?????? ???? ?? ??????? ????????????? ?? ?? ????? ???? ???? ???? ?? ??? ??? ?????? ??????? ??? ?????? ?? ????? ?? ??? ??? ????? ?? ??? ????????? ?? ???????? ???? ?? ??? ????????? ?????????????? ?????? ???????<processmodel></processmodel>?? ??? ??? ??????: ASPNET ???? ?? ??? ????????? ?? ???????ASP.NET ??????? ASPNET ???? ?? ??? ??? ??? ??????? ???? ????? ???? ??? ASPNET ???? ???? ?? ???????? ?? ?????????? ???? ?? ????? ???? ??? ?????, ASPNET ???? ??? ??? ???????????? ?? ???? ?? ??? ?????? ?? ?? ?????????? ???? ?? ??? ????? ?? ?????? ?? ?? ?? ???? ?? ?????? ?? ????? ???? ??? ?? ?????? ??? ASPNET ???? ?????????? ?? ????? ?????????? ?????? inherits ??????? ?????? ?? ??????? ????
?? ?????? ?? ??????? ????
????? ???? outlines ????? ???????? ??????? (ACLs) ?? ASPNET ???? ?? ??? ?????? ???? Windows 2000 ?? Microsoft .NET Framework ?? ??????? ??????? ?? ACLs ????? ???
???:???????? ??? ??, ASPNET ???? ????????: ??? ????? ?????? ???? ?? ?? ?? ???? ??? ????? ???? ??? ????? ?? ??? ???? ?? ???? ?????? ?? ????? ??? ??????? ???????? ?? ????? ??????? ???????? ?? ????? ???? ????? ?? ?? ????? ???? ?? ???????? ?? ?? ??????? ??? ?? ??? ????????? ????? ???? ?? ??? ?? ?????? ?? ??? impersonated ???? ?? ????? ????? ???????, ????? ????????? ??? ???? ????????? ???????????? ?? ???? ?? ????, ???? Kerberos ?? ?????? ?????????? ??????? ??????? ?? ????? ???? ?? ?? ?? ?? ?????? ???????? ?? ??????? ?? ?????? ???? ???? ?? ?? ????? ?? ???? COM + ??????, ???????? ?? ??????? ?? ??? ??? ?? ?? ??? ????? ?? ?? ??????? ????? ?? ?? ??? ??????????? ???????? ?? ????? ?????????? ????? ?? ??? ASPNET ???? ?? ??? ?? ??? ?? ?? ???? ????????? ?? ????? ???? ?? ??? ???? ??????? ?? ??? writting ??? ??? ??? ??????? ?????????? ?? ?????????? ?? ASPNET ???? ?? ??? ???? ?? ?????? ???? ???? ???? ?? ???-??? ????? ?? ??? ?? ?????????? hierarchies ?? ??? ?????????????????????? ?? ???? ???-??? ????? ?? ??? ?? ?????????? hierarchies ASPNET ???? ?? ??? ???? ?????? ???? ??, ????? ?? ASPNET ???? ?? ??????? ?? ??? ??? asp.NET ??? ????????? ?? ???? ?? ?????????? hierarchies ??? ?? ?? ??????? ??? ??? ??????? ?????????? impersonating ?? ???? ??? ???? ??????? ?? ??? Microsoft ???????? ??? ???? ????? ?? ??? ????? ???? ?????? ?? ????? ????: 306158
(http://support.microsoft.com/kb/306158/
)
ASP.NET ????????? ??? ????????? ?? ??????????? ???? ?? ??? ???? ???? ????? ?? ????????? ???? ?? ??? ???????? ???? ???? ????? ?? ??? ????? ????? ?? ???? ????:
ASP.NET 1.1 ?????<drivename></drivename>\Documents ?? Settings\<machinename></machinename>????????? ?? ???????? ???? ?? ??? \ASPNET ?????? ?? (???? ??????<drivename></drivename>???? ???????? ??? ???? asp.NET ??????? ?? ?? ?????? ?? ??<machinename></machinename>?? ???? ???????? ?? ???)? ????????? ????? ?????????????, ?? ??? ?? ????? ?????? ???? ?? ??????? ?????? ??? ?? ?? ???? ?????? ?????????? ?? ??? ??? ?? ???? ???? ?????????? ?? ??? ???? ASP.NET, ??? ????????? ???????? ?? ?? ???????? ??? ?? ????? ???? ??? ???????? ?? ?? ????????? ?? ???? ?? ????????? ?? ????? ???? ?? ??? ????? ??????????? directive ??? ??????<system.web></system.web>Machine.config ?? Web.config ???? ??????:??????? ?? ????? ???????? ??????? ?? ?????? ???? ?? ??? SQL ??????? ?? ????? ???? ???? ??????????? ????????: ????? ???? ?? ??? ASPNET ???? ?? ???????? ???? ???? ?? ????????? ?????? ?????????? ?? ????????? ?? ????? ???? ?? ??? ??? ?? ??? ???????, ??? ??? ????????? impersonating ???? ?? ?? Windows ?? ????? ?? ??????? ?? ???, ???? ?????? ???? ??????? ?? ??? ????? ASPNET ?? ??? ?????????? ?????? ?? ?????? Windows ?????????? ?? ????? ?? Microsoft SQL Server ???????? ???? ?? ?????? ???? ??? ?? ASPNET ???? ?? ????? ???? ???? ?? ????? ???????, ????? ?? ???? ??? ASPNET ???? ??????????? ?????? Windows ??????? ?? ??? ?? ????? ???????? ????????? (TCP) ???????????? ??? ???? ????????? ?? ???? Microsoft Access ??????? ?? ????? ???? ?????, ASPNET ???? ??????? ????? ??? ????? ??? ????? ???? ?????? ?????????? ???? ?????? ???????? ???? ????????? ???????? ????? ??? ?? ????? ????????????? ????????? ????? ??? ???? ?? ??? ?????? ??? ?? ???? ??? ??? ?? ?? ASPNET ???? ?? ??? ??? ?? ??? ???? ??? ????????? ????? ??? ?? ?? ?? ?????? ?? ????? ?????, ??? ????????? ??? ????????? ????? ?? ??????? ????? ????HKEY_LOCAL_MACHINE????????? ????, ?? ASPNET ???? ???? ???? ???? ?? ?????????? ?? ??? ?????? ????? ???, ???? ????????? ????? ???? ?????? ??, ?? ?? ???? ???? ?????? ?? ?? ???? ?????????? ???? ?????? ??? ???????? ??? ??, ???? ?????????? ?????? ??? ???? ???, ?? ????????? ??? ???? ?????? ?? ????? ???? ??? ????????? ????? ??? ??? ?? ????????? ?? ????? ?????, ?? ??????? ????????? ?????? ?????? ???? ??, ?? ??? ASPNET ???? ????????? ????? ??? ???? ?? ??? ??? ?? ???? ???? System.DirectoryServices ?? ?????? ?????????? ?? ????? ??????? ??? ??? ????????? ?? ?????? ?????????? ?? ????? ?????, ????????? ??? ????? ?? ???? ????????? ?? ??????? ?? ?? ???????? ?? ?????? ???? ??? ???????? ??? ??, ????????? ?? ??? ?????? ??????????? ?????? ?? ???? ???DirectoryEntry??? constructorSystem.DirectoryServices?????? ?????????? ??? ?????? ???? ?? ??? ??? ????? ??? ??? ????????? ?????? ????????????? ?? ????? ???? ??, ?? ????????? ????? ???????? ??????????? appropriately ???? COM + ??????? ?????????? ?? ????? ?? ????? ?? ?? Windows ?? ????? ?? ???? ??????? ????????? ???????????? interfaces (APIs)???????????? ?????? ?? ????? ????ASPNET ???? ?? ??? ???????? ?????? ?? ??? ????? ?? ??? (????? ????? ?? ??? ????) ??????????? ?????? ????? ??? ????????? ??????????? ?????? ???? ????? ?? ??????????? ?????? ????????? ????? ?????, ?? ?????????? ?? ???? ?????????? ????????? ?????? ??????? ????????? ??? ????? ????? ?? ??????????? ?????? ?????????, ?? ??????? ????????? ?????? ????????? ?? ??? ???, ?? ??? ASPNET ???? ???????? ?? ??? ?? ???? ???? ?? ???????? ?????? ????? ?? ????? ?? ???? ??? asp.NET ???????? ?? ??????? ???? ?? ??? (Perfmon.exe) ASPNET ?? ????? ???? ?? ??? counters ????? Windows 2000 ???, ????? ????? ?? ???? ????:
COM ????? ?? ???-??-????????? ??????? ?? ??? ??Dcomcnfg.exe ????? ?? ????? ?? ????? ???? ?? ??? ????????? ASPNET ???? ???? ????? ??? ?? ?? ???? ??? ?? ??? ??? ?? ??? ???? ??? COM ????? ?? ???-??-????????? ?? ??????? ???? ????????????? ???????????????? ??? ??, ?? ??? ?? ??????? ????????? ?? XML ??? ???? ??? ??? ???? ?? ???? ??? XML ??? ?????? ??? ??? ?? ?? ?????? ?????? ASPNET ???? ????? ?????????? ???? ?? ??? ???? XML ??? ???? ?? ??? ?? ???????? ?? ?????? ?? ?? ??????? ????? ?? ?? ??? ??COM + ??????, ??? ?? ??? ??????? ????? ?? ??? ??? ??? ???? ???? ?? ????? ?? ???? ???ServicedComponent?? ????System.EnterpriseServices??? ????? ???????? ??? ??? COM + ?? ????? ???? ???? ????? ?? ??? ????? ?? ??? ?? ???? ?? ??? ?? privileged ??????????? ??? ?? ???? ???ServicedComponent?? ??? ???? COM + ????? ????????? ?? ??? ??? ???????? ???? ??? ??? ????? ?? ??? ?? ???? ?? ??????UNC ???? ?? compiling ??? behind ???????ASP.NET, ??? ????? ?? ???? ??? ?? ??????? ????????? ?????? ?? ?????? ???? ?? ???:
??? ???????? ?? ????? ????? ???????? ?? asp.NET ?? ????? ???????????? ??? ??, ??? ?? ???? ????? ???????? ?? asp.NET 1.1 ????? ?? ??? ???, ?? ???? asp.NET ??? ????????? ????? IWAM_ ?? ??????? ?????? ???<computername></computername>???? (????<computername></computername>?? ???? ???????? ?? ???)? ???? ??????? ?? ???, Microsoft ?????? ??? ??? ???? ????? ?? ??? ????? ???? ?????? ????? ????:: 315158
(http://support.microsoft.com/kb/315158/
)
FIX: asp.NET ??? ???? ???? ?? ????? ???????? ?? ??????? ASPNET ???? ???? ???IIS ??????? ????ASPNET ???? ???? ??? Microsoft ??????? ????? ???? (IIS) ???????? ??? ??? ????????? ??????? ???????? ?? ????? ???? ?????? ??, ?? ?? ?? ???? ??? ??? ?? ???? ??????? ????? ?? ??? ??? ????? Metaacl.exe ?? ????? ???? ?????????? ????????? .disco ???????, ?? ??? ?????? ?????? ???? ?? ??? IIS ??????? ????? ?? ??? ?? ?????? ?? ?????? ???? ???, ?? ????? ???? ????? ??? ?? ASPNET ???? ?? ??? ??????? ???? ?? ??? ??? ????? ???? ?????? System.Management ?? WMI ?? ????? ????Windows ????????? ??????????????? (WMI) ?? ?? ?????, ???????????? ??????????? ?? ??????? ???? ?? ??? ?? Windows-?????? ???????? ?? ???????? ???? ?? ??? ????? ?? ???? ??? ???????, ASPNET ???? ?? ??????? asp.NET ????????? ???, ?? ?? ???? ???? ??? ???????? ?? ??? ??? ?? ?? ??????? ????? ????????? ???? ?? ????????? ????? WMI ???? ???? ??????? ???? ??? ??? ??, ?? ??????? ???????? ?? ??????? ?? ??? ??????? ????????? ?? ??? ??? WMI ??????????? SDK ??? WMI ??????? ??????? ?? ???? ??? ???? ??????? ?? ?????? ???? ?? ???? ??? ???????? ?? MSDN ??????:Windows 2000 ?? ???? ???? 3 (SP3) ?? ??? ?? ??? ???, ?? Windows XP ???? ?? ???? ??? 1 (SP1) ?? ??? ???, ASP.NET ??? ????????? ?? ????? ?? ??????? ASPNET ???? ????? ???? ?? ???? ??, ?? ??????? ?? ???? ?? ???? ?? "????? ????? (0x80041003)" ?????? ?????? ?? ?? ???? ?? ??????? ???? ???? ?? ??? ??? WMI ???????? ?? ??????? ?? ??? ???????? ??????????? ???? ??? ?????? ?? ?? ???? ?? ??? ??????? Windows XP SP1 ?? ??? ???, ?? Windows 2000 SP3 ?? ??? ???? ?????? ?? ????? ??? ???? ?? ??? ????? ????? ?? ???? ????:
???????? ?? ??? interactingIIS ?????? ???????? ?? ??? ???????? ???? ?? ??? ???????? ???? ??? ??, ?? ASPNET ???? Discretionary ????? ???????? ??????? (DACLs) ?? ??????? ????? ?????? ?? ???? ???????? ?? ???????? ?? ??????? ?? ??? ??? ?????? ?? ??? ???? ??? ?????????? ?? DACLs ????????? ?? ???? ???, ?? ?? ????????? ?? ?? ?????????? ?? ??????? ?? ?????? ???? ???? ???? ?? ??? ??? ???? ????ASP.NET ????? ??? ???? ?? asp.NET ??????? ???, ASPNET ???? ????? ???? ??? ?? ?? ?????? ?? ???? ??? ??? ?? asp.NET ???????????? ???? ?? ??? ???????? ???? ASPNET ???? ??? ???? ?????? ???? ?????? ??? ?? ????? ?? ??? ASPNET ???? asp.NET ???????????? ????, ASPNET ??? ??? ???? ?? ???? ?? ?? ???? ?? ??????? ?????????? (SID) ??? ????????????, ?? ?? ???????? ????? ASPNET ???? ?? ??? ??? ?? ACLs ?? ASPNET ???? ?? ???? ????? Windows ?? ????? ?? ????? 2003ASP.NET 1.1 ?? ????? ???? ??<drivename></drivename>\Documents ?? Settings\<machinename></machinename>????????? ??????? ?? ???????? ???? ?? ??? \ASPNET ???????? ???????, IIS 6.0 ?? asp.NET SP1 ???, ?? ??? ???? ??? ?? ???????<drivename></drivename>: \Documents ?? Settings\Default User\Local Settings\Application ???? ???????? ??? ???????? ???? ?? ??? ?? ????? ??????:<drivename></drivename>???? ???????? ??? ???? asp.NET ??????? ?? ?? ?????? ???<machinename></machinename>???? ???????? ?? ??? ??? Windows Server 2003 ??? ??????? ?????????? ????????? ?? ????? ???? ???? ??? ?? ?????? ???, ???????? ????? NetworkService ??? ????????? ??? ???? ?? NetworkService ???????? ?? ???? ??? NetworkService ?? ???? ASPNET ???? ?? ??? ????????? ????? Windows ????? ???? ????? ASPNET ???? ?? IIS 5.0 Isolation ???? ??? ?? ???????? ????????? Isolation ???, ??? asp.NET ?? ????? ???? IIS W3wp.exe ????? ????????? ??? ????????? ?????? ????????????? ????? ???????? ??????? ??? Windows 2000 ?? ???? ??? ???? ??????? ?? ??? Microsoft ?? ????? ????? ???? ?????: HTTP://TechNet.Microsoft.com/en-us/library/bb742509.aspx
(http://technet.microsoft.com/en-us/library/bb742509.aspx)
???? ??????? ?? ???, Microsoft ?????? ??? ??? ???? ????? ?? ??? ????? ???? ?????? ????? ????::329290
(http://support.microsoft.com/kb/329290/
)
??????????? ?? ???? ?????? ??????? ???????? ?? ?????????? ???? ?? ??? asp.NET ?????? ?? ????? ???? ???? 315158
(http://support.microsoft.com/kb/315158/
)
FIX: asp.NET ??? ???? ???? ?? ????? ???????? ?? ??????? ASPNET ????
???? ?????? ??????????????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??. ?????????? ?? ??????? ????????? ??????? ??:317012
(http://support.microsoft.com/kb/317012/en-us/
)
| ???? ?????? ???? ?????? ??????
????????? ?????? ??????? ???????? ??????
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email

????? ?? ???? ????
