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?

1 Like

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.


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

Thanks for the feedback! We don’t support that today, but it’s something we’ve been considering. Will update this thread if we’re able to add it soon.


Something similar would also be great for Gateway limits, setting office hours (it would be impossible per time zone, but globally if the location are localized) with stricter limits would be a cool thing.