You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The access control rules can further be customized be specifying different permissions based on capture timestamp, using ``before`` and ``after`` fields that operate in the same manner as their embargo counterparts for a specific URL or domain.
172
+
It is also possible to control access based on capture timestamp, using ``before`` and ``after`` fields to specify an exact timestamp.
173
173
174
174
For example, the following access control settings restrict access to ``https://example.com/restricted/`` by default, but allow access for captures prior to December 1, 2010::
175
175
@@ -183,6 +183,24 @@ Combined with the embargo settings, this can also be used to override the embarg
183
183
com,example)/restricted - {"access": "allow"}
184
184
185
185
186
+
Date-Based Access Controls: Time Interval
187
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
188
+
189
+
Access can also be controlled by specifying a relative time interval, similar to embargos.
190
+
191
+
For example, the following access control settings restrict access to ``https://example.com/restricted/`` by default, but allow access to all captures newer than 1 year::
The following access control settings restrict access to ``https://example.com/restricted/`` by default, but allow access to all captures older than 1 year, 2 months, 3 weeks, and 4 days::
Any combination of years, months, weeks and days can be used (as long as at least one is provided) for the ``newer`` or ``older`` access control settings.
0 commit comments