根据请求的URL实现不同的身份验证 [英] implementing different authentications based on requested URL

查看:85
本文介绍了根据请求的URL实现不同的身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi,
In my Web Application, i need to implement two authentications,based on requreted url, if the user requests http:/App/Admin/login.aspx it has to take forms authentication and if the user
 requests http:/App/User/default.aspx it has to take windows authentication.

For that i have taken two separate folders for admin and user, but i could not call the separate authentication for both using their folder specific web.config files,it showing some  errors.

How could i achieve this functionality, can you show some examples if any?.

Thanks

推荐答案

请通过以下链接





http://mvolo.com/iis-70-twolevel-authentication-with-forms-authentication-and-windows-authentication/ [ ^ ]
please go through below link


http://mvolo.com/iis-70-twolevel-authentication-with-forms-authentication-and-windows-authentication/[^]


这篇关于根据请求的URL实现不同的身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆