Propably I'm the only one interested in this :-)
But anyway, I've checked it out, it's really very easy to do this for basic authentication. You only have to add one more HTTP-header line:
"Proxy-Authorization Basic YWRtaW46Zm9v"
where YWRtaW46Zm9v is a base64 encoded string of <username:password> ("admin:foo" in this case), and you have to use a full URL in the GET-line
(like "GET http://macromedia.com/robots.txt";)

If you specify this additional header right away from the beginning, there is no need for an "interactive authentication", you get through the proxy immediately (tested with Squid 2.5 on win xp)

So, Tim, if your proxy server uses basic authentication only (which it propably doesn't), there is no need to buy a third party xtra.

Valentin


Valentin Schmidt wrote:
thanks cole, laurent for your replies.

laurent, what part of the process that you described do you think
wouldn't be possible to implement with multiuser lingo? If I
understood you correctly, this doesn't sound very difficult, as long as the whole
communication is text based, not binary (what seems to be the case for
basic authentication). It's no problem to implement other text-based
protocols like SMTP, POP, HTTP etc. with multiuser lingo/xtra.

cheers,
valentin

laueLaurent Brigaut wrote:
I don't think you can. The way the authentication is handled,
independantly from the authentication scheme is, that way:
- prerequisite : any access to an http resource throug a proxy that
require authentication has to be done with the "Keep connection
alive" flag set on.
- The client issues first a GET (going through the proxy server) set
the
proxy info (IP/port) but no user or password.
- The the HTTP server replies with a 407 error code (indicating that
the
proxy requires authentication) and includes in the header the
authentication scheme expected (basic, NTLM, Kerberos, ...)
- The client then starts to handle the authentication protocol and
once
access granted, re-issues the GET

I don't think Multiuser could handle this scheme. It would have been
a different story if you have pass the user name/password in the
initial request.

Regards,


-- Laurent Brigaut
-- Director of Operations

-- Integration New Media, Inc. (INM)
-- www.INM.com
-- +1 514 871 1333 ext. 236
-- LEADERS IN INTERACTIVE MEDIA


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Valentin Schmidt
Sent: November 23, 2005 11:46 AM
To: Lingo programming discussion list
Subject: Re: <lingo-l> getNetText and proxy

I wonder if (depending on the authorization scheme?) you
could use the multiuser xtra to authentificate at a http
proxy server...?
Does anyone know more about this?

valentin

Tim Welford wrote:
Thanks for that Valentin, Duck,

I actually stumbled across the proxyserver function after
my post, But
looks like a client requires user\pass authentication on the proxy
server as well, so may need the xtra Duck suggested,
although I also
found "UntimateNetXtra" as well which seems to be a better deal for
the price.

Shame that the proxyserver function only seems to be "half
implemented"
I can't think of any good reasons why they wouldn't build
in a method
for sending user pass parameters.

Cheers guys

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Valentin
Schmidt
Sent: 23 November 2005 15:17
To: Lingo programming discussion list
Subject: Re: <lingo-l> getNetText and proxy

hi tim,

look up
   proxyServer(serverType, "ipAddress", portNum) in the help.

you can either get the proxy server's IP from the registry (pc,
require's some (free) xtra; on the mac there is propably
some comand
to use with shell xtra), or let the user specify it manually.

valentin


Tim Welford wrote:
Hi,

Anyone know how I can use things like getNettext when the computer
uses a proxy server to access the internet.

Do I need to use a 3rd party xtra like UltimateNetXtra, or
is there a
way with just normal director lingo (MX 04)

Thanks

Tim


[To remove yourself from this list, or to change to digest
mode, go
to http://www.penworks.com/lingo-l.cgi  To post messages
to the list,
email lingo-l@penworks.com  (Problems, email
[EMAIL PROTECTED]). Lingo-L is for learning and
helping with
programming Lingo.  Thanks!]

[To remove yourself from this list, or to change to digest
mode, go to
http://www.penworks.com/lingo-l.cgi  To post messages to the list,
email lingo-l@penworks.com  (Problems, email
[EMAIL PROTECTED]).
Lingo-L is for learning and helping with programming Lingo.
 Thanks!]



[To remove yourself from this list, or to change to digest
mode, go to
http://www.penworks.com/lingo-l.cgi  To post messages to the list,
email lingo-l@penworks.com  (Problems, email
[EMAIL PROTECTED]). Lingo-L is for learning and helping with
programming Lingo.  Thanks!]

[To remove yourself from this list, or to change to digest
mode, go to http://www.penworks.com/lingo-l.cgi  To post
messages to the list, email lingo-l@penworks.com  (Problems,
email [EMAIL PROTECTED]). Lingo-L is for learning and
helping with programming Lingo.  Thanks!]


[To remove yourself from this list, or to change to digest mode, go
to http://www.penworks.com/lingo-l.cgi  To post messages to the list,
email lingo-l@penworks.com  (Problems, email
[EMAIL PROTECTED]). Lingo-L is for learning and helping with
programming Lingo.  Thanks!]

[To remove yourself from this list, or to change to digest mode, go
to http://www.penworks.com/lingo-l.cgi  To post messages to the list,
email lingo-l@penworks.com  (Problems, email
[EMAIL PROTECTED]). Lingo-L is for learning and helping with
programming Lingo. Thanks!]

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to