Some software (hosted intranet) have a check box on log in screen for using windows authentication. I knew the asp.net is a web application. I wonder if I can use the client user name and password(intranet or company laptop account) to log in the web application or pass/store the user information in asp application without VPN. Thank you very much!
Just set authentication mode to "Windows". And you don't need the login page with Windows authentication.
using
【在 w********i 的大作中提到】 : Some software (hosted intranet) have a check box on log in screen for using : windows authentication. I knew the asp.net is a web application. I wonder : if I can use the client user name and password(intranet or company laptop : account) to log in the web application or pass/store the user information : in asp application without VPN. Thank you very much!
Most application has two options 1) user windows authentication 2) log in How does it work? I guess it uses active directory. is it right? any examples? Thank you!
F*r
10 楼
只要 对事不对人 在这说纠纷 不是问题
k*i
11 楼
1. Create winlogin.aspx page and set security to Integrated Windows authentication and make this page the default form login page; 2. You can get the windows user name from Request.ServerVariables["LOGON_ USER"] if the user has permission; 3. If the current windows account failed it will return 401 error. Configure IIS to redirect to another form login.aspx page to validate the user against database.
【在 w********i 的大作中提到】 : Most application has two options 1) user windows authentication 2) log in : How does it work? I guess it uses active directory. is it right? any : examples? : Thank you!
mix mode? are you sure that you can specify different authentication modes in a single application?
Configure
【在 k****i 的大作中提到】 : 1. Create winlogin.aspx page and set security to Integrated Windows : authentication and make this page the default form login page; : 2. You can get the windows user name from Request.ServerVariables["LOGON_ : USER"] if the user has permission; : 3. If the current windows account failed it will return 401 error. Configure : IIS to redirect to another form login.aspx page to validate the user : against database.
In web.config only specify form authentication. Just setup Integrated windows authentication for the specific winlogin.aspx file. This is for IIS 6. Another way to do it is use pinvoke to validate the windows username and password just like how you validate any other user from datbase. In IIS 7 classic mode, you can actually enable both modes. Just ignore the warning.
【在 s***o 的大作中提到】 : mix mode? are you sure that you can specify different authentication modes : in a single application? : : Configure
It is risky to use 'committee' to deal with iDevice IDs, b/c the lack of material evidence. Most times it will work fine. But it will look really bad if we ban a mitbbs ID by mistake.
【在 n******s 的大作中提到】 : It is risky to use 'committee' to deal with iDevice IDs, b/c the lack of : material evidence. Most times it will work fine. But it will look really bad : if we ban a mitbbs ID by mistake. : : 规
n*s
25 楼
rightturn mentioned to use 'committee' to decide which mitbbs ID is associated with idevice ID. Maybe I misunderstood his post. Will read it again.
【在 D*******l 的大作中提到】 : idevice id 就是idevice id 你为什么band mitbbs的id? : : bad
n*s
26 楼
maybe I jumped to conclusion. The last paragraph isn't very clear.
D*l
27 楼
我搞错你是对的,到时候讨论这个问题
【在 n******s 的大作中提到】 : rightturn mentioned to use 'committee' to decide which mitbbs ID is : associated with idevice ID. Maybe I misunderstood his post. Will read it : again.