http_access

http_access

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



    Appendix A. Config File Reference