I want to use a 'secret' http header entry instead of using a username with
password for user authentication. Let's say 'only if the browser set
a 'UseSquidProxy true entry' the access is ok. Otherwise it is forbidden.

I found only header_access and header_replace in the documentation, but this
does not what I need.


Hi Michael,

you can use the "req_header" ACL to achieve this:
http://www.squid-cache.org/Doc/config/acl/

Example (not tested):

  acl USESQUIDPROXY req_header UseSquidProxy true
  http_access allow USESQUIDPROXY
  http_access deny all


Hope this helps,
Constantin

Reply via email to