Re: Ftp Access

From: Marton Sándor Zoltán <sanyo@dont-contact.us>
Date: Thu, 29 Jun 2000 16:47:26 -0400

mbdecastro@cade.com.br wrote:
>
> Hi,
>
> I am new to squid and I wonder if it is possible for me to allow only some users to have
access to ftp sites and allow all users to have access to http sites.
> Is there a rule that I can create in order to reach that goal? If that is true, how could I
do that?
1. If the user(s) who are allowed to use ftp have specific IP addresses
then :
acl privilegedusers src ip.... (or range of IP addresses with netmask)
acl noftp proto ftp
.
.
.
.

http_access deny noftp !privilegedusers
http_access allow all

2. If You use user names to identify the user(s) who access Your cache
then:

acl priviledgedusers ident username...
acl noftp proto ftp
.
.
.
.
http_access deny noftp !priviledgedusers
http_access allow all

But this works only if You don't have some other implementation to allow
or deny
access to specific services.

-- 
Sandor Marton - System Administrator 
Technical Department - Kronika Publishing House Cluj, Romania
Tel:+40-64-420320 Fax:+40-64-420330 Mobil:+40-94-790066
www.kronika.dntcj.ro
Received on Thu Jun 29 2000 - 07:52:28 MDT

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