Windows security
From: Boyan Dimitrov (boyan@netagesolutions.com)
Date: 11/01/02
- Next message: Jimco Add-ins: "Re: ASP.Net will not authenticate Me on local machine."
- Previous message: Richard Gadsden: "ASP.NET forms authentication with RADIUS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Boyan Dimitrov" <boyan@netagesolutions.com> Date: Fri, 1 Nov 2002 14:18:13 +0200
HI,
I'm developing an intranet application using asp.net. I have a web service
and a client. I use window authentication for logging. Here is a sample
code:
srvcProtocol srvc = new srvcProtocol();
if ( ! srvc.VerifyUser( User.Identity.Name ) )
{
text1.Text = "User was not verified !";
}
VerifyUser routines compares domain name account value with a field of my
db. If such value exists in the DB user is authenticated.
Here is what I cann't do. If authorization fails I want an authentication
header "WWW-authenticate" to be displayed. This header has two edit boxes
and allows to the user to log with different domain account.
10x in advance
Boyan
- Next message: Jimco Add-ins: "Re: ASP.Net will not authenticate Me on local machine."
- Previous message: Richard Gadsden: "ASP.NET forms authentication with RADIUS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|