---------------------------- Original Message ---------------------------- Subject: Re: Restrict Access based on time From: "Christoph Haas" <email@xxxxxxxxxxxxxxxxx> Date: Mon, May 22, 2006 4:15 pm To: squid-users@xxxxxxxxxxxxxxx -------------------------------------------------------------------------- On Mon, May 22, 2006 at 03:54:45PM +0545, Harish Pokharel wrote: > How can I restrict a particular ip to access for a certain duration of time? > I am using a transparent proxy. > > I have done following > #--------------------------------------------------- > acl testuser src 192.168.2.100/255.255.255.255 > acl testtime time D 07:00-08:55 > http_access allow testuser testtime > #------------------------------------------------------ Add a: http_access deny testuser I assume you are allowing access anyway below this line. So if the user is not caught by your http_access line it would be granted access later. Kindly Christoph -- Please reply to the list - not to me personally. Personal replies are ignored. Thanks, Hurray -- Harish Pokharel