Access control lists
Access Control Lists (ACLs) are the base elements for access control and are normally used in combination with other directives such as
http_access
,
icp_access
, and so on, to control access to various Squid components and web resources. ACLs identify a web transaction and then directives such as http_access
, cache
, and then decides whether the transaction should be allowed or not. Also, we should note that the directives related to accessing resources generally end with _access
.
Every access control list definition must have a name and type, followed by the values for that particular ACL type:
acl ACL_NAME ACL_TYPE value acl ACL_NAME ACL_TYPE "/path/to/filename"
The values for any ACL name can either be specified directly after ACL_TYPE
or Squid can read them from a separate file. Here we should note that the values in the file should be written as one value per line.