???? ID: 197964 - ????? ???????: 03 ?????? 2010 - ??????: 4.0

FileSystemObject ?? ??? ?????? ??????? ?? ???? ????? ????

?????? ??????This article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.
???????????? ???? ??? ??????? ?????? ?? ???? ??? ??????? ??? ??????? ?????? ???? ?? ???? ???? ???? ?? ???? ??? ?? ????? ????? ?? ?? ??? ?????? ??? ?? ??? ???????????? ?? ???? ???? ??? ???? ?? ??? ???? ???? ?? ???? ??? ??????? ?? ??? "??????????? ?????/????????????" ??? ???? Microsoft ??????? ????? (MMC) ??? ??????
??? ?? ??????? ???? | ??? ?? ??????? ????

?????

?? ?? ?????? ???????? ?? ??????? ?? FileSystemObject ?????? ????? ????? (ASP) ?? ?????? ??, ?? ????? ????????? ???? ??:
Microsoft VBScript ?????? ?????? '800a004c' ?? ???? ????
Microsoft VBScript ?????? ?????? '800a0046' ?????? ?? ?????
????? ???????? ?????? ' ASP 0177: 800a0046 ' Server.CreateObject ????

????????

???????:??? ?? ??????? ??? ??? ?? ??????? ???, ?? ??????? ?? ????? ???? ?? ?? ???? ?????? ?? ???????????? ???? ?? ??? ???? ??? ???? ?? ????? ?????? ?? ???? ?? ???? ???? Microsoft ?? ?????? ???? ?? ?? ??? ?? ??? ??????? ?????? ?????? ???????? ?? ?? ???? ?? ?? ???? ???? ??????? ?? ???? ????? ?? ??????? ?????

???:????? ?? ??? ?? ??? ??????? ??????? ???? ?? ?????

?? ?????? ?? ?? ???? ?? ??? ????? ????? ?? ????? ????:
  1. ?????????? ?? ??? ?????????? ????????????? ???????? ?? ?? ??? ???? ??? ?????IUSR_ComputerName(??? ????? ??)? ?? ???? ???? ??????? ??? ?? ??? ????? ?? IUSR_ComputerName ?? ????? ???? ???? ??? ??? ??? ???? ?? ?? ???? ?????? ????? ??? ?? ??? ??, ?? ?? ????? ???? ????? IWAM_ComputerName ???? IUSR_ComputerName ???? ?? ?????

    ???:: ??? ?? IUSR_ ?? ??????? ???? ???ComputerName, ?? ?? ?? ?????????? ?? ??? ?? ??? ??????? ????? ???? ????? ???? ????? ???? ??? ?????????? ??????? ?? ????? ????? ?? ??? IUSR_ ?? ??? ??????? ????????? ???? ?? ???ComputerName??? ????? ?? ???? ??? ?? ??????? ??? ??????? ?? ????????? ???? ?? ??? Adsutil.vbs ????-?????? ?????? ?? ????? ?? ???? ????? ??? ???? ?? ???, ????? ????????? ?????, ?? ??? (Windows NT 4.0 ?? ???) Winnt\System32\Inetsrv\Adminsamples ?? (Windows 2000 ?? ???) Inetpub\Adminscripts ???????????? ????????? ????? ????, IUSR_ ?? ??? ??????? ????????? ???? ?? ??? ????? ???? ????ComputerName???? ??:
    CScript adsutil.vbs w3svc/anonymoususerpass "???????" ??? ????
    ??, ???? ?? ??? ????? IWAM_ComputerName ???? ?????? ?? ??? ??????? ?? ??????? ???? ?? ???:
    CScript.exe adsutil.vbs ??????? w3svc/wamuserpass
    ???
    • ??? ?? ?? Windows 2000 ????? ???????? ?? Windows NT 4.0 ???????? ????? ???????? (PDC) ????? ?? ??? ???, ?? ?? IUSR_ ?? ????? ???? ?? ????? ?? ????? ???? ?? ????? ???? ???? ????ComputerName???? ??? ????? ?? ?? ???? ?????? ?? ???? ??, ???? ??????????? ???? ?? ??? ????????? ???? ?? ??? ???? ??? ?? ???? ???
    • ?? ?? Windows NT 4.0 ??? ??????? ?? ??????? ???? ?? ?????? ??, ?? ??????? ?? ??? ??? ???? ??? ????? ??? ???????, ??????? asterisks Windows 2000 ?? Windows Server 2003 ??? ?? ??? ??? ????? ??? Windows 2000 ?? Windows Server 2003 ??? ???? ??? ??? ??????? ?? ??????? ???? ?? ??? ???? ????? ??????? Adsutil.vbs ????? ???? ????? unmasked ??????? ?? ????????? ???? ??? ??? ???? ?? ???, ????? ????? ?? ???? ????::
      1. Notepad ???, Adsutil.vbs ??????
      2. ????? ?????????????? ??,??????.
      3. ??????:IsSecureProperty ??? =?? ????-????? ????, ?? ???? ??????? ??????.
      4. ???????? "IsSecureProperty ??? ="??"IsSecureProperty False ="?
      5. Adsutil.vbs ???? ??? ?????????? ?? ??????, ?? ???? ??? Notepad ?? ???? ???????
  2. ?????? ????? "???????" ?? ??? ?? ?? ???? ?? ????? ?? ???? ??? ????? ??? ?????????? ?? ??? ?? ???? ???? ?? ??? ???/???? ????????? ????? ?????
  3. ???? ????? ?? ??? ?????????? ???? ?? ????? ?? ???? ???? ??? ??? ???? ?? ???? ?? ??????? ?? ?????????? ???? ?? ??? IIS 4.0 ?? ??????? ???? ??????? ????? ????:
    • ??????? ???? ??????? ??????
    • ??? ????????? ?? ????-????? ????, ?? ?? ??? ???????.
    • ?????????????????? ?????????? ?? ????? ????..
    • ??? ???????????? "???? ????? ?? ??????? ???????? ????? ????" ??? ????
    • ????? ????? ????? ???? ?? ??, ?? ?? ????????? ???? ?? "???? ????? ?? ?????? ???" ????? ??, ?? ???? ?????????.
    • "????: ??????? ????????????? ????? ????" ?????? ?? ?????????? ??? (IUSR_ ??? ?????? de-selectComputerName) ?? ????????
  4. ????? ?? ???? ?? ??? ????? ??? ????? ?? ??? ??? ????????? ??? ??? ASP ????? ????? ???:
       <%
       Set ScriptObject = Server.CreateObject("Scripting.FileSystemObject")
       Set MyFile =
       ScriptObject.OpenTextFile("\\<ComputerName>\files\myfile.txt", 8,true)
    
       MyFile.WriteLine "*** Write file test ***"
       Myfile.writeline "     file was written to at: " & Now
       Myfile.writeline " "
       MyFile.Close
       %>
  5. ????? ?????? ?? ??????? ??? ??????????? ?????
  6. ASP ??? ?? ?? ??? ????? ???? ????? ??????????? ????? ???:
       \\<ComputerName>\files\myfile.txt.
    
    					

??????

?? ??????? ??????? ?????? ??..

???? ???????

Authenticating ?????????? ?? ???? NTFS ?? ??? ?????? ?? ?????? ?? ??? ?? ?? ???? ?? ??? ????????? ?? ???? ???? ?? ???????? ??? ???? ????? ?? ????? ?? ??? ??, ??? authenticating ?????????? IUSR_ ???? ?????ComputerName???? ??? ??? ???? ???? ?????? ?????????? ?? ????? ?? ?????? ?? ????? ?? ???????? ??, ?? ?? ??? ??????? ???? ????? ?? ????? NTLM ?? Windows ?????? ??????? (Windows 2000) ???? ?????? ???????? ?? ??????? ???????? ?????? ?? ????? ?????????? ???? ????? Microsoft ?????? ??????? (MSDN) ???? ??????? ?? ???:
HTTP://MSDN.Microsoft.com/en-us/library/ms954229.aspx (http://msdn.microsoft.com/en-us/library/ms954229.aspx)
Windows 2000 ??? ??????? ??? ?? ???? ?? ?? ?? ???????? ????? ???? ?? ???? ???? ?? ??? Windows ?????? ?????????? ?? ????? ????? ???? ??????? ?? ??? Windows 2000 ??? ???????? ?? ????? ??, Microsoft TechNet ??? ???? ?? ?????????? ???? ?????:
HTTP://www.Microsoft.com/downloads/details.aspx?familyid=99b0f94f-e28a-4726-bffe-2f64ae2f59a2 (http://www.microsoft.com/downloads/details.aspx?familyid=99b0f94f-e28a-4726-bffe-2f64ae2f59a2)

??????

???? ??????? ?? ???, Microsoft ?????? ??? ??? ???? ????? ?? ??? ????? ???? ???????? ????? ????::
189408  (http://support.microsoft.com/kb/189408/ ) FIX: IIS 4.0 ?? IIS 5.0 ?? ??? ??????? ??????? ?? ??????? ?? ??? ASP ????
276011  (http://support.microsoft.com/kb/276011/ ) ?????? 800a0035 FileSystemObject ???????? ?? ????? ???? ???

???? ???? ???? ??:
  • Microsoft Active Server Pages 4.0
  • Microsoft Internet Information Server 3.0
  • Microsoft Internet Information Services 5.0
??????: 
kbbug kbcodesnippet kberrmsg kbfix kbfso kbiis500fix kboswin2000fix kbprb kbscript kbsecurity kbmt KB197964 KbMthi
???? ?????? ???????????? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:197964  (http://support.microsoft.com/kb/197964/en-us/ )