Re: [squid-users] Access based on auth and referer

2023-03-13 Thread Dott. Matteo Savatteri
Hi Amos, list, please, can you help me to solve the issue described below? Or, if not possible at all, to find an alternative solution. Thank you for your patience and your help. Cheers, Matteo On 3/6/23 09:25, Dott. Matteo Savatteri wrote: Hi Amos, thank you for your answer. Unfortunatel

Re: [squid-users] Access based on auth and referer

2023-03-06 Thread Dott. Matteo Savatteri
Hi Amos, thank you for your answer. Unfortunately, the config you suggested does not seem to work: using that the proxy ask for password for every sites. I think this is because CONNECT requests naturally does not present the referer header. The special referer header in only present in subs

Re: [squid-users] Access based on auth and referer

2023-03-05 Thread Amos Jeffries
On 5/03/2023 10:44 pm, Dott. Matteo Savatteri wrote: Hello fellow Squid users, we use Squid 3.5 at my company and we want to give access to all sites to authenticated users. If a user is not authenticated we need to allow only HTTP/S requests that present a referer header matching a regex. I

[squid-users] Access based on auth and referer

2023-03-05 Thread Dott. Matteo Savatteri
Hello fellow Squid users, we use Squid 3.5 at my company and we want to give access to all sites to authenticated users. If a user is not authenticated we need to allow only HTTP/S requests that present a referer header matching a regex. Is this even possible? I have tried a combination of