Quota Time object ( Youtube example )

Quota Time object is anĀ  object that allows Artica to calculate duration on web sites per user.

It is available with a corporate license and Artica version 1.8.111521 or above.

How it works ?

When user surf the first time on website, Artica save the first time into memory.
If the user return back to this website, Artica will calculate the time between the first time to the actual time.

Time calculation is made between 2 requests.

For a streaming website, this feature can really understand the duration because there are many requests in order to display videos.

The limit.

Let us see an example:

  1. An user go to wikipedia at 09h00, so the first hit matches.
  2. This user, close it’s session and go to meeting.
  3. It return back to wikipedia after the meeting at 10h00.

2 requests calculation understands that the user used wikipedia during 1 hour ( but this is not the case.)

There are some options to fix this issue but

You need to pay attention: The Web is not a flow ( like a phone discuss ) , it is a “disconnected” communication mode.


How to create the rule ?

The Time quota is a proxy object, so it is available on the Proxy acls section with a defined rule.

This Article will give to you an example to ban access to Youtube after 60 minutes and force user to wait 120 minutes before return back to Youtube.

Select the Proxy service top menu and click on Access Control lists item.

15-11-2014 21-23-27


  • Create a rule.

15-11-2014 21-24-09


  • Choose deny access on this rule.

15-11-2014 21-28-41

  • Add a first proxy object with the type: “Web server or domain” that stores googlevideo.com and youtube.com

15-11-2014 21-30-25

  • Create a new object and select Quota Time type
  • Select your new object and click on Add to create a new item

Create a line with these token:
Values are in minutes:

max:xxx; wait:xxx; interval:xxx


max:60; wait:120; interval:5

Means time quota maximal is 60 minutes on a website per user.
After reach the quota, user need to wait 120mn in order to be allowed to returning back to the website.
Do not calculate duration if time between 2 requests is more than 5 minutes.

If you want to block every time set wait to 0

15-11-2014 21-39-40


  • Click on the button “Apply” in order to make your rule in production mode.
  • Wait few time and click on the “status” link under the rule.

15-11-2014 21-45-14

  • A real-time monitor is able to display quota time for each user and website according your rule.

15-11-2014 22-47-42


Leave a comment