Name

http_access

Synopsis

The http_access directive is one of the most important aspects of your configuration. It determines whether or not Squid allows or denies a client’s request. If you don’t get your access-control rules just right, savvy Internet users can abuse your resources (e.g., bandwidth, disk storage, address space). Some people find the access control rule syntax confusing. Be sure to read Section 6.2 closely.

Syntax

http_access allow|deny [!]ACLname ...

Default

http_access deny all

Example

http_access allow MyClients

Related

acl, http_reply_access, miss_access, icp_access

Get Squid: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.