Cloudflare Access - limit to certain times of day?

Is there a way to setup Access to limit access only to certain times of day?

e.g. we’re using Access to allow people to access our ERP from home.

But we’d like to limit certain groups to only be able to access the ERP during regular business hours.

Is this possible?

I can only think of using the API to add/remove access groups to a policy with a cron job. And make sure your access tokens are short-lived.

https://api.cloudflare.com/#access-policy-update-access-policy

3 Likes

Thanks, I’ll give that a look.

Another alternative might be possible if you are using something like ADFS as your identity provider. You can set logon hours in your AD, and users will be forbidden to logon outside these hours.

1 Like