472,802 Members | 1,435 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,802 software developers and data experts.

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 7030
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Lech Wilczyñski | last post by:
Hello Does anyone ever made full authorization via NTLM using PHP? I tried to do it but i stucked in validating nt_hash and lm_hash received in messageType3. I couldn't find any example of...
4
by: vooose | last post by:
Consider accessing a webpage through a proxy server: WebRequest request = WebRequest.Create("http://somepage.com"); WebProxy proxy = new WebProxy(proxyHost, proxyPort); proxy.Credentials = new...
6
by: Tom | last post by:
Hi, I have activated NTLM authentication on IIS on Windows 2003, and the log files show that for each request, three or four hits are generated. Typically, the first and second hit get a 401...
4
by: looping | last post by:
Hi, I have to make internet connections through an ISA proxy server that use NTLM or Kerberos authorization method. I've found a program in python called ntlmaps that act like a proxy and could...
2
by: Haxan | last post by:
Hi, I have an unmanaged C++ dll that consumes a web service using NTLM proxy authentication. I was able to consume the web service and get the results when using .Net runtime 1.1. When I...
2
by: bartt | last post by:
I am develping a C# app that has to pull over some XML from an https site. My code seems to work fine with standard html (at least getting it) from http sites (like google.com). But when I change...
1
by: robert | last post by:
In a DAV scheme with PROPFIND or GET (PROPFIND /test/ HTTP/1.1) and Basic AUTH to a MS SharePoint over https server (AUTH required), he responds 'WWW-Authenticate: NTLM' only: reply: 'HTTP/1.1...
1
by: pycraze | last post by:
Hi , I am working on NTLM (Windows NT Lan Manager )APS (Authentication Proxy Server ) , to port to C language . I am using ethereal to monitor the packets sent between client and server ....
2
by: =?Utf-8?B?TGVuc3Rlcg==?= | last post by:
A C# (.NET 2) application which uses the System.Net.HttpWebRequest object to request a resource over HTTPS is failing following the installation of a new proxy server on our internal network with...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
How does React native implement an English player?
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.