Re: [SQU] Allowing single users to access denied files

From: ayland <ayland@dont-contact.us>
Date: Fri, 5 Jan 2001 09:29:41 +0500

Hi Martin..
You should use users name or IP if your local net have some statics ones to
define Users acl and give them access..

 acl NoMp3 urlpath_regex -i \.mp3$ \.mpeg3$ \.ra$ \.ram$ \.mov$ \.qt$
 acl WorkTime time MTWHFA 08:00-20:00
 acl userName proxy_auth userName
 http_access allow userName
 http_access deny NoMp3 WorkTime
 http_access allow all

Alex.
----- Original Message -----
From: "Martin Mielke" <martinm@people-com.com>
To: <squid-users@ircache.net>
Sent: Thursday, January 04, 2001 5:53 PM
Subject: [SQU] Allowing single users to access denied files

> Dear all,
>
> I have defined some ACLs this way:
>
> ---
> acl NoMp3 urlpath_regex -i \.mp3$ \.mpeg3$ \.ra$ \.ram$ \.mov$ \.qt$
> acl WorkTime time MTWHFA 08:00-20:00
> http_access deny NoMp3 WorkTime
> http_access allow all
> ---
>
> As you can see, with this rules, nobody can (or at least should not)
access
> MP3, RealAudio or QuickTime files during working hours.
> Now I need to grant access to some RealAudio files to some single users
and
> keep the general restriction. I guess that this is done using the users's
> machine IP address but I don't know the syntax.
>
> Any advice/examples will be much appreciated!
>
>
> Martin
>
> --
> To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
>
>

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Thu Jan 04 2001 - 21:33:23 MST

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