您好,我正在为内部用户使用以下代码
<system.web>
<compilation debug="true" targetFramework="4.0" />
<authentication />
<authorization>
<allow users="xyz\abc" />
<allow roles="Users" />
<deny users="*" />
</authorization>
<identity impersonate="true" />
</system.web>
任何人都可以告诉我如何将其指向外部用户的Login.aspx吗?
答案 0 :(得分:1)
答案 1 :(得分:0)
<authorization>
<allow users="*" />
</authorization>
<authentication mode="Forms">
<forms loginUrl="Login.aspx" timeout="30" />
</authentication>
当用户未经过身份验证时,它将重定向到Login.aspx