Re: [squid-users] Re:squid authentication password and access list

From: Muthukumar <[email protected]>
Date: Wed, 9 Jun 2004 11:39:23 +0530

> I changed squid.conf to use ncsa auth and PASSWORD
> so users are using username and password to connect to squid.

Is your ncsa auth method working correctly. Check that ncsa auth method in command line.

> but i am having problems getting my previous access list to a specific
> time.
>
> acl WORKING time MTWHF 07:30-15:30
> acl special_url url_regex
>
> and
> http_access deny special_url WORKING

It will deny the specific url access on WORKING. Are you using any other access rules?

> need help to get this running with
> acl password proxy_auth REQUIRED

If you configured the authentication method and tested successfully,it will ask authentication for all users.
If you want to specifically allow the users as like (user1,user2,..,)

----- squid.conf settings -----
acl spl_users proxy_auth user1 user2
http_access allow spl_users special_url WORKING

If you want to block all users to access the urls at the working time then

----- squid.conf settings -----
< snip>
# Authentication method settings
.............. < snip> .......

# acl rules
acl WORKING time MTWHF 07:30-15:30
acl special_url url_regex ....
# acl to retrieve the users through the ncsa auth method
acl password proxy_auth REQUIRED
http_access deny special_url WORKING
http_access allow all

<snip>

do that.

Regards,
Muthukumar.

---
===============  It is a "Virus Free Mail" ===============
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.701 / Virus Database: 458 - Release Date: 6/7/2004
Received on Wed Jun 09 2004 - 00:14:26 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jul 01 2004 - 12:00:02 MDT