Click here to Skip to main content
15,891,597 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using HTTPAPI_VERSION_1 to implement an HTTP server. I am using HTTPAPI_VERSION_1 as I want to run the HTTP web server on Windows 2003 as well.

I am finding it difficult to identify how HTTP authentication information is returned by httpreceivehttprequest function.

In HTTPAPI_VERSION_2 httpreceivehttprequest returns HTTP_REQUEST_AUTH_INFO which has authorization related information. MSDN sample also uses the same.

Please let me know how to obtain authorization information in HTTPAPI_VERSION_1.
Posted

1 solution

Found the answer.

HTTPAPI_VERSION_1 APIs do not implement authentication by itself. It is the application's responsibility to do it - rather painful :( But that is the only way out............
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900