Web.Config文件中:
<system.web>
    <compilation defaultLanguage="vb" debug="true" />
    
<authentication mode="Forms">
<forms name="VB.ASPXAUTH" loginUrl="login.aspx" protection="All" path="/" />
</authentication>
<authorization>
<deny users="?" />
</authorization>
</system.web>