我有点想能够做混合窗口和窗体身份验证。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页,检查认证?