??????? ??????? ???????? ASP.NET

?????? ????????? ?????? ?????????
???? ???????: 891032 - ??? ???????? ???? ????? ????? ??? ???????.
ASP .NET ??? ????? ????: ASP.NET ??????? ?????
?????? ??? ?????? ??? ?????????? ??? ???? ???? ?????? ??????? ??? ???????? ???? ???? ? ??????? ???????? ???? ???? ???? ?????? ????? ??????? ?? ???????? ???????? ????? ?????. ????? ????? ???????? ????? Ask For It ??????? ??????????. ???? ????? ?????? ??? ??????? ?? ???? ??? ??????.
????? ???? | ?? ????

?? ??? ??????

????? ???

??????? ??? ???? ?? ??????? ??? ????? ?????? ' ????? ?? "???? ????? ?????". ???? ?? ????? Cheshire ????? ? ????? ??? ??? ?? Microsoft ???? .NET ASP ????????? ?????? ??. ????? ??????? ????? ???? "????? ???" ??? ???? ????????. ???? ?? ????????? ?????? ????? ??? ?????? ??????? ??????? ??? ????? ????? ????? ?????????? ??????? ??????????. ????? ????? ??!

????? ?? ???? ?? Microsoft ?? ????? ??? ????? FrontPage ? VB ASP .NET. ???? ??? ?????? ???? ????? ?? "???? ?????? Office" ??? MSDN ??? ??? ???? ???? ??? FrontPage ??? Edition ???????? Microsoft Office FrontPage 2003. ??? ????? ????? ???? ??? ??? ???? ????? ??????? ???????? ?? FrontPage ?????? ????? ??? ???? ???? ?? ?????? Microsoft. ????? ??? ????? ???? ??? ???:
http://www.jimcosoftware.com
??? ?????? ????? ?????? ???? ? ????? shoes ?? ????? ??????? ?? ????? ?????? ????? ??? ???? ??? ??????? ????? ASP.NET ? ???? ????? ????? ??????? ??? ???????? ???????? "FOR ASK ?????????" ??????? ?? ?? ???? ???? ???.

Jeremy

??????? ??????? ???????? ASP.NET

?? ????? ?????? ?????? Shrek ???? ?????? Shrek ? ?? ogre creature ???? ugly ?? ????? awful hygiene. ?? ??????? Shrek proclaims ????? ogres ???? ?? ? ogres ???? onions. ????? ?????. ?

ASP.NET ???? ogre ?????. ????? ??? ????? ?????? ??--???? ??? ?? ???? ???? ??? ???????? ??????? ????? ?????? ????? ????? ?? ???? ????? ??????? ??? ????? ????. ???? ??????? ??? ??? ASP.NET ??????? ???????? ??? ??? ??? ???? ?? ???? ???????? ???? ??? ??????? ??? ?????? ???? ????.

?? risk ?? ????? ????? ????? ? ??? ??????? ??? ?????? ?? ????? ??????? ??? ??????? ?????? ?? PSS ??? ???????. ??? ????? ??? ????? ??????? ??? ????? ?????? ????? ???:
  • ?????? ???? ???????
  • fiddler
  • Filemon / Regmon
  • ????? ??????? ?? Windows (Windbg)
  • SOS (???? Windbg ??????? ??????? ?????? ??? ???????)
  • DBGClr
?? ????? ??? ?????? intimate ???????? ??? ??????? ???? ???? ?? ???????? ???? ????? ???????? ??? ??????? ???? ????? ?????? ??? ?????? ??? ????? ?????? ?? ???????? ???? ?? ???????.

?????????

???? ??????? ????? ????? ?? ????? ??? ?? ????????? ???? ???????. let?s dive ?????? ??.

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

???? ??? ??????? ASP.NET ?????? ?????? ??????? Windows ????? ? ??????? ? ????? ?????. ??? ?????????? ?? ?? ???? ??? ?????? ??? ?????? ??? ??????. ????? ?? ???? ???? ????? ????? ??? ???????? ????? ??????. ??? ????? ?? ??? ???????? ??? ????????.

???? ??? ????? ?? ??????? ??????? ?????? ???????? ??????? ???????? ???????? ????? ???? ?????. ???? ????? ????? ?? ??? ??? ?????? ???? ?????? ??????? ???????? ??? ??????. ?? ????? ???? ????? ?????? ?? Microsoft "?????? ??????".

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

????? ????? ????? "????? ??????" bombed ????? ?? ???? FTP Microsoft ???????:
ftp://ftp.microsoft.com/PSS/Tools/Netmon/Netmon2.zip
???? ?????? ??? ??? ????? ??????? ??????. ??? ????? "????? ??????" ?????? ?????? ?? ???? ????? ??? ????? ?????? ?? ???? ??? ????? ????? ??????.
????? ????? ???? ??????? ???????
??? ??? ????? "?????? ??????" ???? ??? ?? ??? ??? ??? ?????? ?????? ????? ???? ??????? ???? ???? ????????? ?? ???? ?????? ?? ???? ?? ????? 1.
?? ??? ??????????? ??? ??????
Figure 1: Choosing a network in Network
		  Monitor

????? ??? 1: ?????? ???? ????? ?? "?????? ??????"

???? ?? ?? ????? 1 ??????? ??????? ????? ????? ??????? ?? VPN ?????? ??? ?? ???? ???? ?? ??????? ???????. ?? ???? ???????? ?????? ??? ????? ???? ???????? ??? ????? ??????? ?? ????? VPN. ????? ??????? ???? VPN ?????? ?? ???? ?? ?????? ??? ????? ????? ?????? ????? ??? ?? ???? ????? ?????. ??? ????? ??? ???? ?? ??????? ???? ???????? ?????? ???? ???? ?????? ?? ???? ?? ???? 1 ????? pictured ?? ????.

??? ??? ????? ??? ????? ????? ?????? ??? ?????? ????? ?????? ??? ???? ?????? ?????? ???? ?? ???? ????? ??? ?????? ????? ??????? ????.
????? ??? ?????? ??????
?????? ???? ??????? ??? ?????? ???? ?????? ??????? ?? 1 ???? ????. ???? ???? ?? ??? ?????? 1 ???? ???? ?? ???????? ?????? ????? ??????? ??? ??????. ?? ???? ?? ???????? ?? ????? ??? ????? ??? ?????? ??????. ??????? ????? ???? ??? ?????? ?? ???? ??? ??????? ?????? ??????. ????? ???? ?????? ??????? ?????? ?????? ???? ??? ????? ????? ??? ?????? ??????. ????? ????? ???? ???? ????? ??? ????? ???? ???? ?????? ??? ????? ??? ???? ???????. ?????? ??? ???? ?? ????? ???????? ???? ???? ??? ??? ???????? ? ??? ?? ???? ?????? ???? 2 ?? 3-???????? ???? ?? ?????.

??? ????? ???? ?? ???? ??????? ?????? ?????? ???? ?????? ????? ????? ????? ??? ??????. ???? ???? ?? ??????? ??? ???? ?????? ?????? ???? ??? ???????. ??? ????? ??? ??????, ???? ??? ??? ??????? ?? ?????? ?????? ?? ??????? ?????? ???? ?????. ?? ????? ??? ???????? ???????? ???? ?? ??? ???????.
??? ????????
????? ????? ??? ?????? ?????? ?????? ???? ???? ??????? ???? ????? ?????? ????????. ????? ??? ????? ?????? ???? ??? ??????:
  • ???? F10 ??? ???? ????????.
  • ???? ??? ?????? ?? ???? ??? ???? ?? ???????.
  • ???? ??? ???? "??? ????????" ??? ???? ??????? (??? ???? ???? ?? ?????).
??? ????? ?????? ????? ?? "?????? ??????" ?????? ??? ??? ??????????? ?????, ??? ?? ???? ?? ????? 2. ??? ??? ?? ??? ?? ??? ???? ????? ??? ?????? ??????? ?? ????? ??? ????? ????? ?????? ??? ??????.
?? ??? ??????????? ??? ??????
Figure 2: Network Monitor while capturing
		  packets

????? ??? 2: ????? ???? ??????? ????? ?????? ???

??? ?? ?? ??? ????? ???????? ?? "?????? ??????" ????? ????? ??????? ???? ????? ??? ?????? ?? ????? ???????? ?? ?????? ??? ???? ' ????? ' ?? "?????? ??????" ?????? ??? ???? ??? ?? ????? ??? ????? ? ?? ?????? ??? F11 ??? ???? ????????. ??? ???? ???? ??? ???????? ???? ?? ????????.

?????? ????? ????? ???? ??????? ??? ??? ???????? ???????? ??? ?????. ????? ????? ?? ???? ?????? ??? ????????? ?? ????? ??? ????? ?? ?? ???? ??????? ?? ???? ??????. ?? ??? ???????? ??????? ???????? ????? IP ?? ??? ?????? ?????? ??????? ???? ?? ??????? ??? ????????? ??????.
??? ???????? ????????
??? ?? ????? ???????? ? ????? ??? ???????? ???????? ?????? ????? ??? ???? ?? ????? ??? ??? ???????? ???????? ?? ???? F12 ??? ???? ????????. ??? ??????? ?????????? ???? ???? ???????? ???? ?? ??? ??? ????? ????? ?? ?????? ??? ?? ???? ?? ????? 3.
?? ??? ??????????? ??? ??????
Figure 3: Captured data in Network
		  Monitor

????? ??? 3: ???????? ???????? ?? "?????? ??????"

?? ??? ??????? ??? ????? ??? ????? ?? ??? ??? HTTP ???. ????? ???? ?????? ?????? ????? ???????? ???????? ???? ???????? HTTP. ?????? ???????? ???????? ???? ??? ?????? ? ?? ???? ??? ?????, ?? ???? ??????? F8 ?? ???? ???????? ?? ???? ??? ?? ???? ??????? ???? ??? ?????.

?? ???? ?????? ????? ??? ? ???? ????? ??????? ??? ???????? == ?? ???? ????? ???? ???? ?????? ????? ??? ?? ???? ?? ????? 4.
?? ??? ??????????? ??? ??????
Figure 4: The Expression dialog box
		  provides powerful filtering capabilities

????? ??? 4: "?????" ???? ?????? ???? ????? ????? ?????

?????????? ???? "????? ??????" ???? ????????????. ?????? ??? ???????? HTTP ???? ??? ????? ???? ? ???? ????? ??????? ??? ???????? HTTP ??????? ?? ???? ??? ?????. ????? "?????? ??????" HTTP ??? ????????.

?????? ????? ????? "?????? ??????" ??? ?????? ???? ??? ??????? ???????? ???? ????? ???? ??????? ?????. ?? ???? ???????? ????? ????? ??? ????????.

??? ????? ????? ???? ?? ???????? ???? ??? ??? ???????? HTTP ????? "?????? ??????" ?? ???? ?? ???????? ???????? HTTP. ?????? ??????? ??? ???? ? ????? ?????? ??????? ????? ??? ?????? ???. ?? ????????? ???? ???? ???? ?????? ?? ???? ?????? ????? ?? ??? ??? ?????? ????? ??? ??????? ???????? ??? ???? ???. ????? ?????? ?? ???? ?? ????? 5 ??????? ??? GET ???? ASP.NET. ???? ?? ???? ??? ????? ??? ???? ?? ??? ???? 401 ???? ??? ??? ?? ??? ?????? ??? ???? ???.
?? ??? ??????????? ??? ??????
Figure 5: Network Monitor showing an
		  ?Access Denied? response when authentication is required

????? 5: ????? ??????? ? "???"?????? ? ??? ????? ?????? ?????? ??????

?????? ??? ???? ?????? WWW ????? ?????? ?? ????? 5 ?? ???? ???? ??? (??????) Kerberos ?NTLM ????????. ????? ??? ??????? ?? ?????? ???? ????? ??????? ???????? ???????? ??? ??????? ? "???"?????? ? ???? ???? ???.
????? ?????
????? ?? ????????? ?????? ?????? ?? ???? ?? ????? 5 ????? ???? ????? ??????? ?? ??? ?????????. ????? ????? ????? ????? ??? misunderstood ???? ????? ?? ?????? "????? ??????". ???? ??????? ??? ??? ????? ??? ???????.

?? ????? ??????? ?? ????? 5 ?????? ????? ???????? HTTP ???? ???? ???? ????? HTTP. ???? HTTP ?????????? ?? ???????? TCP ?? ???? ????? ??????? ???? ????? ???? ?? ???? TCP. ????? ??????? (????? ?????? ????? ?? ?????? TCP) ???? ????? ?????? ???? TCP ?????. ?? TCP ????? ??? ?? ???? ?????? ????? ?? ????? ?? ??? ???????.

????? ??? ?????? ?? ???? ??? HTTP GET:
11 4294967263.4294633595 LOCAL 00045A420DBC HTTP GET Request 
(from client using port 3134) DADATOP 192.168.0.4 IP 
TCP: .AP..., len: 402, seq:3410290480-3410290882, ack:1947093623, win:17520, src: 3134 dst:  80 
???? ?? ??? ??????? ?????? ?? 3410290882. ????? ????? ??????? ?????? ??? ?? ??? ?????? ????? ??? ???????. ????? ???? ??? ???? ?? ??????? ?? ????? 3410290882. ????? ??? ??? ??????:
12 4294967263.4294636605 00045A420DBC LOCAL HTTP Response (to client using port 3134) 192.168.0.4 DADATOP IP 
TCP: .A...., len: 1460, seq:1947093623-1947095083, ack:3410290882, win:65133, src:  80 dst: 3134
???? ??? ??????? ?????? ???? ???? ????? ????? ???? ????????? ??? ????? ?? ???? "?????? ???? ???????". ??????? ??????? ??? ?????? ?? ?????? ????? ?????? ?? ????? ???????? ??? ???????.

??? ?? ???? ???? ??? ??? ???? ?????? ?? ??? ??? ?????? ???? ?????? ??????? ???????? ???? ?????? ??? TCP ????? ????? HTTP GET ? ????????? ?? ??????. ????? ?????? ?? ?????? ???? ???? ??????? ???????? ?? ??????: 00045A420DBC ??????
23 4294967263.4294641621 LOCAL 00045A420DBC HTTP GET Request (from client using port 3135) 192.168.0.2 192.168.0.4 IP 
HTTP: GET Request (from client using port 3135)
  HTTP: Request Method = GET
  HTTP: Uniform Resource Identifier = /webapplication1/webform1.aspx
  HTTP: Protocol Version = HTTP/1.1
  HTTP: Accept = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.
  HTTP: Accept-Language = en-us
  HTTP: Accept-Encoding = gzip, deflate
  HTTP: User-Agent = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 
  HTTP: Host = alien
  HTTP: Connection = Keep-Alive
  HTTP: Authorization = Negotiate TlRMTVNTUAABAAAAB4IIogAAAAAAAAAAAAAAAAAAAAAFASgKAAAA
44 77 3D 3D 0D 0A 0D 0A         AAADw==....   
?? ??? ??????? ? ???? ??? ???? ????? ??? ??????? ??? "??????" ? ???? ???? ???? ????? ????? ?? ?????? ???? ?? ??????? ?? ??? ???. ???? ??? ????????? ??? ?? ?????? ??????? ??? ??????? ??? ????? NTLM. ????? ???? ?? ?????? NTLM ??? ????????? ??? ??? ????? ????? ' "T." ??? ??? "Y" ? ??? Kerberos. ????? ??? ?????? ??? "??????" ????? ?? "NTLM". ??? ?? ???? ???? ?????? Kerberos ?? NTLM ? ??? ??? ???? ????? ??????? "??????" ?? ???? Kerberos ????? ??? ??? ???????. ??? ??? ?? ???? ??????? Kerberos ??????? NTLM.

????? ??? 6 ???? ???? ?????? ????? ???? ????? ?????? ??? ??? ????? ??????? ????????. ???? ??? ?? ?? ????? ???? ????? HTTP ?? ?????? ?????? ???? ???? ?? ?????? ?????? ?? ???.
?? ??? ??????????? ??? ??????
Figure 6: The
		  frame containing authentication information

????? ??? 6: ?????? ????? ??? ??????? ????????

???? ??? ?????? ??? ???? ?????? ???? ??????? ???????? ???? ???????. ??? ???? ???????? ??? ?????? ??? ??? ??????, ??? ??? ??? ???????? ?? ???? ???? ??? ?????? ?? ??? ??? ????? ??????? ???????? ?? ???? ??? ?????.
???? ????? ???? ???????
?? ???? ?? ???????? ?? ???? ??????? ???? ???? ????? ??? ???? ?? ???? ??????. ??? ??? ???????? ?? ????? ??? ???? ?? ???????? HTTP ? ??? ???? ?? ????? ?????? ??? ??? ??????. ???????? ??????? ??????? ?? ????? ?????? ?????? ??? ?????? ?? ?????? ??????.

???? ??? ???? "?????" ?? ???? ??????? F8 ??? ???? ????????? ?????? ???? ?????? ???? ????? ?????. ??? ?????? ?????? ???? ??? ????? ?????? ????? ????. ???? ????? ????? ?????? ??? ?? ???? ????????? ?? ??? ?????????: ??????? ??? ????? IP "?" ????? ??? ??? ???? HTTP.

??????? ??? ????? IP ???? ??? ????? ??????? ????? ?? ?? ???????? ?? ????? ?????? ??? ??? IP. ?? ?????? IP ?? ?? ???????? ??? ????? ????? ??????. ??? == ?? ??????? ? ???? IP ????? ????????? ?????? ??? ?? ???? ?? ????? 7. ??? ?????? ????? ??? ????? ??? ???????? ??????? ?? ????? IP ???? ??????.
?? ??? ??????????? ??? ??????
Figure 7: Filtering by IP
		  Address

????? ??? 7: ????? ?????? ????? IP

?? ????? ?????? ?? ??? ???? ????? IP ?? ?? ???? ??????? ???? ??? ???? ???? ????? ?????. oftentimes ?????????? ??? ???? ???????? ???? ??? ?????? ???? ????? ?? ???? ?????. ??? ??? ???????? ????? IP ???? ?????? ?? ???? ????? IP ?? ???? ??????? ?? ???? ??????? ? ?????? ??.

????? ????? ????? ?????? ??? ???? HTTP. ??? ??? ???? ?? ????? ???? ?????? ??? ??? ????? 401 ??? ?????? ????? ????? ????? ??? ??? ???? HTTP 401. ??????? ????? ??? HTTP ?? ??????? ????????: ????? ?? ???????. ?? ???????? ????? ?? ???? ??? ??? ??????. ??? == ?????? ??????? ???? ??? ?? ?????? ???? (?????) ? ???? 401 ?? ????? ???? ??? ?? ???? ?? ????? 8 ?? ???? ??? ?????. ????? ????? ???? ??????? ??? ???????? ??? ?? ????? ??? ???? 401 ??? ?? ???? ?? ????? 8.
?? ??? ??????????? ??? ??????
Figure 8: Filtering by HTTP status
		  code

8 ??? ??????: ????? ?????? ??? ???? HTTP
??? ?? ??? ????? ?????? ??? ?? ????? 401, ????? ??? F7 ?? ??? ???? ???????? ?????? ????? ???? ???????. ???? ????? ?????? ??? ?? ????? 401 ?? ???? ?? ?? ????? ???????? ??????? ??????? ?????? ??? 401.

fiddler ? HTTP ??????? ??????

??? ??? ????????? ?? Internet Explorer ??? ???? ????????? ?????? ???? ???? ???????? ????? ????? ??????? Fiddler (??????? ?? ????? 9) ????? ?? ?????? "????? ???? ???????" ??????? ????????? HTTP ??????? ?? ??????. ????? ??? HTTP ??? fiddler ?? ????? ?????? ?? Internet Explorer.
?? ??? ??????????? ??? ??????
Figure 9: Fiddler

????? 9: Fiddler

?? ????? 9? ????? ?????? 401 ??????? ?????? ?? ???? ?????? ????????? ???? ?????? (?????). ?? ??? ??????? ???? ??? ??? ????? ??? ???? ?????? ???????? (???? ??? ???????? ???? ???????) ???? ???? ???? ?????? ????? ??? ?????? ?? ??? ?? ???? ????? ????? Kerberos.

????? ????? Fiddler ?? ???? ?????? ??? ?????:
http://www.fiddlertool.com.

?? ?? ??????

??????? ?????? ?????? "??" Fiddler ???? ???? ?????? ?????? ?????? ??? ????? ??? ????????. ????? ?????? ????? ??? ????? ??? ????? ??????? Filemon Regmon ?? SysInternals. ??? ??????? ????? ???? ??? ?? ??????? ????? ????? ??? ???? ??????? ??? ???????.
????? ????? ?? ????? ??????? ??? ???????? ???? ??? ???????? ?? ??????? ?????????? ?? ?? ??????? ???????? ????? Ask For It ???? ??????.

???????

???? ???????: 891032 - ????? ??? ??????: 15/????/1429 - ??????: 3.1
????? ???
  • Microsoft ASP.NET 1.0
  • Microsoft ASP.NET 1.1
????? ??????: 
kbmt kbhowto kbasp KB891032 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????891032

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

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com