Marcos,
I think you could do something like this, but it wil only work for ftp
through the web-browser.
This example is if you want to block 198.0.0.1 from using FTP. The
http_access statement only holds true if the beginning of the url is ftp://
and if the source is 198.0.0.1.
*************************
acl denied-src src 198.0.0.1
acl ftp-sites dstdomain ^ftp://
http_access deny ftp-sites denied-src
*************************
If your list of authorized ftp users is smaller than the restricted, you
could do something like:
*******************
acl ftpallowed-src src "filename of allowed IPs"
acl ftp-sites dstdomain ^ftp://
http_access allow ftp-sites ftpallowed-src
http_access deny ftp-sites
*******************
If anyone see's something wrong with these examples, please speak up.
Hope this helps.
Craig Fels
----- Original Message -----
From: "Marcos Castro" <mbdecastro@altavista.com>
To: <squid-users@ircache.net>
Sent: Thursday, June 29, 2000 7:04 AM
Subject: FTP access
> Hi,
>
> Is is possible to allow ftp access to only a few users while allowing http
access to all users? If so, how can I do that?
> Thanks,
>
> Marcos Castro
>
>
> _______________________________________________________________________
>
> $1 million in prizes! 20 daily instant winners.
> AltaVista Rewards: Click here to win!
> http://shopping.altavista.com/e.sdc?e=3
>
> _______________________________________________________________________
>
Received on Thu Jun 29 2000 - 07:27:03 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:54:14 MST