[squid-users] protect squid.conf file

Amos Jeffries squid3 at treenet.co.nz
Fri Jul 22 05:31:22 UTC 2016


On 22/07/2016 3:02 a.m., --Ahmad-- wrote:
> hmmmm
> 
> what about if i insert a directive inside squid and this directive not being shown in squid.conf ??
> 
> 
> say i want to add line to the current squid.conf but i don’t want to add that line in squid.conf 
> 
> also i don’t want to include other external file 
> 
> 
> is there a method to add directive in  squid ?
> 
> may be possible before compile ??
> 

Of course. But then anyone can see it by running "squid -k parse". That
command does *not* require root privileges.

Setting the config file persmissions to 600 is the way to go.


Amos



More information about the squid-users mailing list