1
나는 Windows 인증 인트라넷 사이트를 가지고 있습니다.Windows 인증 리디렉션 페이지?
<authentication mode="Windows" >
</authentication>
<authorization>
<deny users="?" />
</authorization>
사용자가 컨트롤러의 인증에 실패하면 ,
[Authorize(Roles="Admin")]
public class SearchController : BaseController
나는 그들을/인덱스
이이 있는 Web.Config에서 설정할 수 있습니다 ~/무단로 이동합니다 로그인 페이지로 리디렉션 할 수있는 양식 인증과 유사합니까? 나는 단지 [AllowAnonymous] 컨트롤러 (~/UnAuthorized/Index)에 리디렉션하고 싶습니다.