c++ - NTLM authentication for a web server side application -


My Windows based application written in C + + (originally an HTTP / 1.1 proxy server) listens for requests from various users.

Please, please, please redirect me to the correct positions if there are already threads that discuss something similar. Most of the research on the WWW does not give me client-side programming, very little or almost anyone - for coding that should be done in the HTTP server

Thank you all great hacks here, a big advance.

The short answer is that I think this sample is your best place and you need it The display of the required basic SSPI calls has been written for a plain TCP server, but the challenge / response data is sent over HTTP without much complexity.

I recommend a second review

Personally, I also try to attach to the IIS a low-level debugger and see that it is the SSPI How to call the work, but it can not be your cup of tea.

SSPI, getting the user name should be the piece of cake (but ask if you need help) LDAP / AD properties for the user can be asked with those APIs.

There are also samples.

Hope it helps!


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -