RE: Configuring IIS to use IP then Authentication for access
From: Yan Liu [MS] (yanliu@online.microsoft.com)
Date: 10/21/02
- Next message: Yan Liu [MS]: "RE: Exporting Text File list of all virtual sites running in IIS"
- Previous message: Yan Liu [MS]: "RE: Event ID 114"
- In reply to: Jason Hebron: "Configuring IIS to use IP then Authentication for access"
- Next in thread: Thomas Deml [MS]: "Re: Configuring IIS to use IP then Authentication for access"
- Reply: Thomas Deml [MS]: "Re: Configuring IIS to use IP then Authentication for access"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: yanliu@online.microsoft.com (Yan Liu [MS]) Date: Mon, 21 Oct 2002 08:21:04 GMT
Hi,
Definitely you need some programmatic way. Here is an ASP solution in
complement to Thomas's solution:
<%
Dim ipVFlag
'... Code to check whether the client IP is valid and set the variable
ipVFlag accordingly
if ipVFlag = true then
Response.AddHeader "www-authenticate", "Basic realm=""testserver"""
Response.Status = "401 Access Denied"
Response.End
end if
Response.Write "User Name:" & Request.ServerVariables("auth_user")
Response.Write "hello world"
%>
HTH.
Regards,
Yan Liu
This posting is provided "AS IS" with no warranties, and confers no rights.
- Next message: Yan Liu [MS]: "RE: Exporting Text File list of all virtual sites running in IIS"
- Previous message: Yan Liu [MS]: "RE: Event ID 114"
- In reply to: Jason Hebron: "Configuring IIS to use IP then Authentication for access"
- Next in thread: Thomas Deml [MS]: "Re: Configuring IIS to use IP then Authentication for access"
- Reply: Thomas Deml [MS]: "Re: Configuring IIS to use IP then Authentication for access"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|