Re: [squid-users] accessing ftp server with non anonymous account

From: Robert Collins <robertc@dont-contact.us>
Date: 08 Nov 2002 20:12:01 +1100

On Fri, 2002-11-08 at 19:16, Henrik Nordstrom wrote:
> Robert Collins wrote:
> >
> > On Fri, 2002-11-08 at 15:16, Delia Micu wrote:
> > >
> >
> > > If I use Mozilla (with the Proxy set to use Squid) and
> > > then enter the url
> > > ftp://me:me@myFtpServerIP/filename.xml Squid passes the
> > > info somehow to the FTP server, which correctly
> > > authenticates the account (account 'me' in this case)
> > > and gets the files displayed in the browser.
> >
> > It does this via the HTTP authentication headers. See rfc2616 for
> > documentation on these. If your java app uses the same headers, squid
> > will turn that into authentication details for FTP.
>
> Actually not. The official method is to provide the credentials in the
> URL as above. A HTTP client not capable of using this method is broken.
> ftp://user:password@host/...

Thats the user interface. It's my understanding the browser->proxy
interface is via HTTP authentication. Is there an RFC on ftp access via
HTTP? And I'd expected a Java class to work at the header level, not a
GUI style interface.

> Squid has an extension to provide the password via HTTP authentication
> if no password is given in the URL. This only works for certain browsers
> as not all expect to handle HTTP authentication on FTP requests.
> ftp://user@host/...
>
> Regards
> Henrik

Received on Fri Nov 08 2002 - 02:12:04 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:11:14 MST