Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old December 19th, 2006, 12:25 AM
George Vasiliou
Guest
 
Posts: n/a
Default 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



  #2  
Old December 19th, 2006, 07:25 PM
Max
Guest
 
Posts: n/a
Default Re: NTLM Proxy Authorization

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" <basiliou@freemail.grwrote in message
news:em7au0$bbd$1@ulysses.noc.ntua.gr...
Quote:
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
>
>
>

  #3  
Old December 19th, 2006, 11:45 PM
George Vasiliou
Guest
 
Posts: n/a
Default Re: NTLM Proxy Authorization

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" <nospam@spamcatchers.comÝãñáøå óôï ìÞíõìá
news:45883a6b$0$21086$afc38c87@news.optusnet.com.a u...
Quote:
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" <basiliou@freemail.grwrote in message
news:em7au0$bbd$1@ulysses.noc.ntua.gr...
Quote:
>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
>>
>>
>>
>
>

  #4  
Old December 22nd, 2006, 07:15 PM
Max
Guest
 
Posts: n/a
Default Re: NTLM Proxy Authorization

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" <basiliou@freemail.grwrote in message
news:em9tah$2dor$1@ulysses.noc.ntua.gr...
Quote:
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" <nospam@spamcatchers.comÝãñáøå óôï ìÞíõìá
news:45883a6b$0$21086$afc38c87@news.optusnet.com.a u...
Quote:
>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" <basiliou@freemail.grwrote in message
>news:em7au0$bbd$1@ulysses.noc.ntua.gr...
Quote:
>>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
>>>
>>>
>>>
>>
>>
>
>

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles