Squid Web Cache Wiki

Squid Web Cache 文档

🔗 为基于组的访问控制配置 Squid

要执行基于组的访问控制,您需要已经为单个用户配置并实现了身份验证。

有关如何执行此操作的详细信息,请参阅

下面的示例使用 winbind 进行组查找。Squid 捆绑了几个执行组查找的其他辅助程序。

辅助程序索引访问控制部分中查找group检查类型

🔗 Squid 配置文件

创建 ACL 以检查组访问权限

external_acl_type testForGroup %LOGIN /usr/local/squid/libexec/ext_wbinfo_group_acl.pl

acl inGroupX external testForGroup someGroupNameX

并像使用任何其他身份验证 ACL 一样使用此 ACL

http_access allow inGroupX

⚠️ Disclaimer: Any example presented here is provided "as-is" with no support
or guarantee of suitability. If you have any further questions about
these examples please email the squid-users mailing list.

类别: ConfigExample

导航:站点搜索站点页面分类🔼 向上