Close
Social profiles
squid proxy

Squid Proxy Server – Date and Time based restriction using ACL : time

Squid Proxy is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing

Date and Time (time)
You can block the requests made by the users based on the date and time, to do that you have to use the directive called “aclname time”, below are some examples:

acl aclname time [day-abbreviations] [h1:m1-h2:m2]

Day Abbreviations

  • S – Sunday
  • M – Monday
  • T – Tuesday
  • W – Wednesday
  • H -Thursday
  • F – Friday
  • A – Saturday
  • D – Weekdays (Monday – Friday)

Example

acl LunchHr  time 12:00-13:00
acl OfficeHr time D 09:00-17:00

You can check more details about Squid Proxy Server from the below links.

You can also check more details about the Squid by referring to their Wiki page.

One thought on “Squid Proxy Server: date and time based restriction using ACL”

  1. I just want to mention I am beginner to weblog and certainly liked you’re page. More than likely I’m want to bookmark your blog . You really come with good posts. Bless you for revealing your web-site.

Leave a Reply

Your email address will not be published. Required fields are marked *

Close