dread
October 26th, 2005, 10:07 PM
Hi. I am new to this forum and ASP in general. I'm scratching my way through this stuff and was wondering if I could get a lending hand.
I am in a situation where I have an SSL proxy device that is appending a header field in the http header being sent to my web server (IIS and\or Apache)...
Get
Accept:
Accept-Language:
Accept-Encoding:
User-Agent:
Cookie:
Host:
Via:
|
|
Credentials: <<CustomField that contains plain text username:password>>
I stumbled across ServerVariables and wrote some very simplistic html that displayed the CustomField and the corresponding value ...
<html>
<body>
<p>
<b>Credential Information for AlteonCredentials (HTTP_HeaderName) is:</b>
<%Response.Write(Request.ServerVariables("HTTP_AlteonCredentials"))%>
</p>
</body>
</html>
While not exteremely valuable it at least helps me know that I am receiving the information that I am looking to do something with. :confused:
Conceptually I believe I need to break apart the header, authenticate the credentials stored in the CustomField and than return an appropriate response header. Please feel free to correct me in my attempt to simplify this. Does anybody have anything in place that can help me get to where I need to go? I'm in a bit of a time crunch so it's understood that a database storing the user information etc is not required. Meaning I could hardcode the user information in a file so long as I can prove the authentication is being pulled from the CustomField and authenticated against something.
I would greatly appreciate ANYTHING you could do to help me out. Thanks for indulging me.
I am in a situation where I have an SSL proxy device that is appending a header field in the http header being sent to my web server (IIS and\or Apache)...
Get
Accept:
Accept-Language:
Accept-Encoding:
User-Agent:
Cookie:
Host:
Via:
|
|
Credentials: <<CustomField that contains plain text username:password>>
I stumbled across ServerVariables and wrote some very simplistic html that displayed the CustomField and the corresponding value ...
<html>
<body>
<p>
<b>Credential Information for AlteonCredentials (HTTP_HeaderName) is:</b>
<%Response.Write(Request.ServerVariables("HTTP_AlteonCredentials"))%>
</p>
</body>
</html>
While not exteremely valuable it at least helps me know that I am receiving the information that I am looking to do something with. :confused:
Conceptually I believe I need to break apart the header, authenticate the credentials stored in the CustomField and than return an appropriate response header. Please feel free to correct me in my attempt to simplify this. Does anybody have anything in place that can help me get to where I need to go? I'm in a bit of a time crunch so it's understood that a database storing the user information etc is not required. Meaning I could hardcode the user information in a file so long as I can prove the authentication is being pulled from the CustomField and authenticated against something.
I would greatly appreciate ANYTHING you could do to help me out. Thanks for indulging me.