473,396 Members | 1,927 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 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 7069
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.