我有點想能夠做混合窗口和窗體身份驗證。ASP.net C#中的自定義Windows Active Directory身份驗證頁面
//I want to check the browser the user is using
If(IE || chome)//I know IE and chrome can authenticate without a popup login box
{
//check windows authentication
if(generic AD account || AD user doesn't have permissions for this application)
{
//Redirect to login page
}
else
{
//Redirect to main page
}
}
elsif(IPad || android || Firefox)
{
//Redirect to login page
}
有沒有一種方法來創建一些自定義代碼來獲取與JavaScript Windows AD身份驗證或者我可以創建自定義的ashx頁,檢查認證?