vim /etc/squid/squid.conf
http_access deny !Safe_ports #拒绝不安全端口请求
#http_access deny net
# Deny CONNECT to other than secure SSL ports
http_access deny CONNECT !SSL_ports #不允许连接非安全ssl_port端口
auth_param basic program /usr/lib64/squid/ncsa_auth /etc/squid/passwd # 密码存储路径,设定通过ncsa_auth程序来读取 debine中auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd