469,946 Members | 2,174 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,946 developers. It's quick & easy.

NTLM Proxy Authorization

Hi to all,

I have made up a small client / server application with WinSock (port 443)
at VB6.

I have install server in my Home, and client is running behind a proxy
server.
Client cannot reach server, because proxy requires NTLM Authorization before
redirecting.

Is there any tested code , able to NTLM authenticate such a proxy server?

Regards

Dec 19 '06 #1
3 6903
Max
You need to use the Winsock API to get the job done

Here is a good place to start looking for examples
http://www.vbip.com/winsock-api/
"George Vasiliou" <ba******@freemail.grwrote in message
news:em**********@ulysses.noc.ntua.gr...
Hi to all,

I have made up a small client / server application with WinSock (port 443)
at VB6.

I have install server in my Home, and client is running behind a proxy
server.
Client cannot reach server, because proxy requires NTLM Authorization
before
redirecting.

Is there any tested code , able to NTLM authenticate such a proxy server?

Regards

Dec 19 '06 #2
Dear Max,

Thanks for your time, but NTLM is a bloody thing.
I really can't understand what you mean Winsock API,
bythe way, if you have a look at guidelines of NTLM Authorization , it seems
almost impossible to generate the correct responses to proxy server and gain
acess.
I was hoping somebody to have some usefull code for further studing..

Regards

George
"Max" <no****@spamcatchers.com
news:45***********************@news.optusnet.com.a u...
You need to use the Winsock API to get the job done

Here is a good place to start looking for examples
http://www.vbip.com/winsock-api/
"George Vasiliou" <ba******@freemail.grwrote in message
news:em**********@ulysses.noc.ntua.gr...
>Hi to all,

I have made up a small client / server application with WinSock (port
443) at VB6.

I have install server in my Home, and client is running behind a proxy
server.
Client cannot reach server, because proxy requires NTLM Authorization
before
redirecting.

Is there any tested code , able to NTLM authenticate such a proxy server?

Regards


Dec 19 '06 #3
Max
Hi George

You are correct NTLM is a pain and it would be a "challenge" to write you
own code to autanaticate against it.

However like most things in windows there is an Application Programing
Interface (API) to what Microsoft has done, in this case the Winsock API
provides for communication over TCP IP directly or via any other proxy NTLM
included.

For this reason you will not find many code examples to Authanticate against
NTLM but you will find truck loads of VB6 code on how to hand the entire job
of moving the data between the PC's over to windows so you can simply deal
with the results.

The link I provided is the best place to start it has several working
examples of code that will work via NTLM.
..

"George Vasiliou" <ba******@freemail.grwrote in message
news:em***********@ulysses.noc.ntua.gr...
Dear Max,

Thanks for your time, but NTLM is a bloody thing.
I really can't understand what you mean Winsock API,
bythe way, if you have a look at guidelines of NTLM Authorization , it
seems almost impossible to generate the correct responses to proxy server
and gain acess.
I was hoping somebody to have some usefull code for further studing..

Regards

George
"Max" <no****@spamcatchers.com
news:45***********************@news.optusnet.com.a u...
>You need to use the Winsock API to get the job done

Here is a good place to start looking for examples
http://www.vbip.com/winsock-api/
"George Vasiliou" <ba******@freemail.grwrote in message
news:em**********@ulysses.noc.ntua.gr...
>>Hi to all,

I have made up a small client / server application with WinSock (port
443) at VB6.

I have install server in my Home, and client is running behind a proxy
server.
Client cannot reach server, because proxy requires NTLM Authorization
before
redirecting.

Is there any tested code , able to NTLM authenticate such a proxy
server?

Regards



Dec 22 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Lech Wilczyski | last post: by
4 posts views Thread by vooose | last post: by
6 posts views Thread by Tom | last post: by
4 posts views Thread by looping | last post: by
1 post views Thread by pycraze | last post: by
2 posts views Thread by =?Utf-8?B?TGVuc3Rlcg==?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.