ACL question ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

ACL question ?

Aismel

Hello,

 

About this question

 

My users navigate through internet all day but starting at 14:00pm to 20:00pm I need they can access to X pages only like facebook, youtube, gmail…

 

Ideas ??


_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: ACL question ?

Yuri Voinov

#    acl aclname time [day-abbrevs] [h1:m1-h2:m2]
#      # [fast]
#      #  day-abbrevs:
#      #    S - Sunday
#      #    M - Monday
#      #    T - Tuesday
#      #    W - Wednesday
#      #    H - Thursday
#      #    F - Friday
#      #    A - Saturday
#      #  h1:m1 must be less than h2:m2
#
#    acl aclname url_regex [-i] ^http:// ...
#      # regex matching on whole URL [fast]
#    acl aclname urllogin [-i] [^a-zA-Z0-9] ...
#      # regex matching on URL login field
#    acl aclname urlpath_regex [-i] \.gif$ ...
#      # regex matching on URL path [fast]

This, huh?


18.01.2018 01:16, Aismel пишет:

Hello,

 

About this question

 

My users navigate through internet all day but starting at 14:00pm to 20:00pm I need they can access to X pages only like facebook, youtube, gmail…

 

Ideas ??



_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users

-- 
*****************************
* C++20 : Bug to the future *
*****************************

_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: ACL question ?

Amos Jeffries
Administrator
In reply to this post by Aismel
On 18/01/18 08:16, Aismel wrote:

> Hello,
>
> About this question
>
> My users navigate through internet all day but starting at 14:00pm to
> 20:00pm I need they can access to X pages only like facebook, youtube,
> gmail…
>
> Ideas ??
>

The answers you seek are in the FAQ, and your access.log

<https://wiki.squid-cache.org/SquidFaq/SquidAcl#How_can_I_allow_some_clients_to_use_the_cache_at_specific_times.3F>

<https://wiki.squid-cache.org/ConfigExamples/>

Amos
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users