Hi, On Wednesday 14 July 2004 14:07, Gert Brits wrote: > Hi all > > Does anyone have the configuration on hand, to only allow certain user to > brows at certain times of the day ? > > Like allow user joe to brows between 08:00-17:00 > > and then extra to allow user joe to brows only on Mondays to brows between > 08:00-17:00 >
have a look at the acl "time" and "ident". From squid.conf: # acl aclname time [day-abbrevs] [h1:m1-h2:m2] # day-abbrevs: # S - Sunday # M - Monday # T - Tuesday # W - Wednesday # H - Thursday # F - Friday # A - Saturday # h1:m1 must be less than h2:m2 ... # acl aclname ident username ... # acl aclname ident_regex [-i] pattern ... Define your time and combine it with the acl for the user: acl monday time m 08:00-17:00 acl joe ident joe http_access allow joe monday Make sure you have an ident daemon running on your client. Regards, Peter -- Peter Albrecht, SUSE LINUX AG, [EMAIL PROTECTED]
