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

???? ?????? ???? ??????
???? ID: 316871 - ?? ???????? ?? ?????? ??? ?? ?? ???? ???? ???? ??.
??? ?? ??????? ???? | ??? ?? ??????? ????

?? ????? ??

??????

?? ??????? ????? ?? ??????? ?? ??? ????? ?? ????????? ???? ?? ??? web. config ????? ??? <location>??? ???? ???? ?? ??? ?? ??? ?? ??? ???????????? ?? ????? ?????

?? ASP.NET ??????????? ??? ???????-?????? ?????????? ?? ????? ??, ???? ?????? ?????????? ????????? ??? ??????? ?? ??? ????? ?? ?? ???? ????????? ?????????? ???????? ??? ?? ????????? ?????? loginUrl ??????? ?? web. config ????? ???? ?????? ???? ??????????? ????? ?? ???? ??? ?? ??? ????? ?? ?????????????? ???? ???? ??? ?????? ???, ?? ?????????? ??????? ?? ???????? ?? ???? ???? ????????? ??? ??? ????? ?? ??????? ?? ??? ?????? ???? ?? ??? ?? ???? ????

</location>

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

  1. ???????-?????? ??????? ???????????? ??????? ?? ???, Microsoft ?????? ??? ??? ???? ????? ?? ??? ???? ?? ?? ???? ???????? ?? ????? ????:
    308157 ???? ?? ???: ???????-?????? ?????????? ???? ASP.NET ????????? ??? Visual Basic .NET ?? ????? ?? ???????????
    301240 ???? ?? ???: ???????-?????? ?????????? ???? ASP.NET ????????? ??? c# .NET ?? ????? ?? ???????????
  2. Logon.aspx ???? ?? ??? ???????? ??? ?? ?????????????? ???? ?? ???? ?? ???, ???? ????????? ??? ??? ????? ?? ??? ???????
  3. Web. config ????? ??? ????? ?? ????? ??? ????????

    ?? ??? ??? ?????????? Default1.aspx ?????, ?? Subdir1 ??????? ?? ??? ????? ???? ???
    <configuration>
    	<system.web>
    		<authentication mode="Forms" >
    			<forms loginUrl="login.aspx" name=".ASPNETAUTH" protection="None" path="/" timeout="20" >
    			</forms>
    		</authentication>
    <!-- This section denies access to all files in this application except for those that you have not explicitly specified by using another setting. -->
    		<authorization>
    			<deny users="?" /> 
    		</authorization>
    	</system.web>
    <!-- This section gives the unauthenticated user access to the Default1.aspx page only. It is located in the same folder as this configuration file. -->
    		<location path="default1.aspx">
    		<system.web>
    		<authorization>
    			<allow users ="*" />
    		</authorization>
    		</system.web>
    		</location>
    <!-- This section gives the unauthenticated user access to all of the files that are stored in the Subdir1 folder.  -->
    		<location path="subdir1">
    		<system.web>
    		<authorization>
    			<allow users ="*" />
    		</authorization>
    		</system.web>
    		</location>
    </configuration>
    						
    ?????????? ????? Default1.aspx ?? ???? ????????? Subdir1 ??????? ??? ????? ?? ???? ?? ???? ????? ??? ???? ???? ?? ???????? ??? ?? ??????? ?? ??? Logon.aspx ????? ?? ?????????? ???? ????? ?????
  4. ???? ?? ???? ????? ?? ??????? ????? ??? ?? ????????? ???????????? ?????? ????? ?? ?????? ???? ?? ??? ????? ??? ?? ??????? ?? ??? ??? 3 ?? ????????

??????

???????? ??????? ?? ???, Microsoft ?????? ??? ??? ???? ????? ?? ??? ???? ????? ???? ?????? ?? ????? ????:
306590 ?????: ASP.NET ??????? ????? ???
?? ???? ??? ???? ??????? ?? ??? <location>???, .NET ?????? ?? Framework ???????????? ????? Microsoft ??? ???? ?? ?????:</location>
???????????? <location>????????</location>

???

???? ID: 316871 - ????? ???????: 29 ??????? 2013 - ??????: 3.0
???? ???? ???? ??:
  • Microsoft ASP.NET 1.0
  • Microsoft ASP.NET 1.1
??????: 
kbconfig kbhowtomaster kbsecurity kbweb kbmt KB316871 KbMthi
???? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:316871

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

 

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