[squid-users] Dynamic ACL with local auth

ngtech1ltd at gmail.com ngtech1ltd at gmail.com
Mon May 6 09:21:10 UTC 2024


Hey Albert,

The right way to do it is to use an external acl helper that will use some kind of database for the settings.
The other option is to use a reloadable ACLs file.
But you need to clarify exactly the goal if you want more then a basic advise.

Eliezer

-----Original Message-----
From: squid-users <squid-users-bounces at lists.squid-cache.org> On Behalf Of Albert Shih
Sent: Monday, May 6, 2024 11:49 AM
To: squid-users at lists.squid-cache.org
Subject: [squid-users] Dynamic ACL with local auth

Hi everyone, 


I like to know how (if it's possible) to create acl dynamically. 

What I try to do is to have peoples authenticated (user1, user2, user3,
etc.) then for each user I like to create a set of acl. The problem is I
cannot have the set of acl once for all, it's dynamically change in time. 

I can put the set of acl in anything, like static file, mysql db, etc...

Performance is not a issue (no lot of users) but I really would like not to
have restart squid each time the acl static file change. 

The authentication would be through htpasswd. 

What would be the best way to do it ? 

Regards.


-- 
Albert SHIH 🦫 🐸
France
Heure locale/Local time:
lun. 06 mai 2024 10:44:28 CEST
_______________________________________________
squid-users mailing list
squid-users at lists.squid-cache.org
https://lists.squid-cache.org/listinfo/squid-users



More information about the squid-users mailing list