Go Back   Forum Care Forums > Development Reference Area > Visual Basic

Reply
 
LinkBack Thread Tools Display Modes
NTLM Proxy Authorization
Old
  (#1)
George Vasiliou
Guest
 
Posts: n/a
Default NTLM Proxy Authorization - 06-04-2007, 10:33 AM

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



   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: NTLM Proxy Authorization
Old
  (#2)
Max
Guest
 
Posts: n/a
Default Re: NTLM Proxy Authorization - 06-04-2007, 10:33 AM

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" <EMAIL REMOVED> wrote in message
news:em7au0$bbd$EMAIL REMOVED...
> 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
>
>
>



   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: NTLM Proxy Authorization
Old
  (#3)
George Vasiliou
Guest
 
Posts: n/a
Default Re: NTLM Proxy Authorization - 06-04-2007, 10:33 AM

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" <EMAIL REMOVED> Ýãñáøå óôï ìÞ*õìá
news:45883a6b$0$21086$EMAIL REMOVED 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" <EMAIL REMOVED> wrote in message
> news:em7au0$bbd$EMAIL REMOVED...
>> 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
>>
>>
>>

>
>



   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: NTLM Proxy Authorization
Old
  (#4)
Max
Guest
 
Posts: n/a
Default Re: NTLM Proxy Authorization - 06-04-2007, 10:33 AM

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" <EMAIL REMOVED> wrote in message
news:em9tah$2dor$EMAIL REMOVED...
> 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" <EMAIL REMOVED> Ýãñáøå óôï ìÞ*õìá
> news:45883a6b$0$21086$EMAIL REMOVED 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" <EMAIL REMOVED> wrote in message
>> news:em7au0$bbd$EMAIL REMOVED...
>>> 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
>>>
>>>
>>>

>>
>>

>
>



   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Contact Us - Forum Care Forums - Archive - Top