Jump to content

restrict access to a Gateway during nighttime and early morning hours


Recommended Posts

HI
You can try with a responder policy that responds with "401 not authorized", if the requests do not satisfy the policy expression "by AD group" && "system time evaluations"
Or you can modify the current authentication policies by adding check expressions on time as well as on groups 
I recommend not touching production but testing first in development

Example of expression:
AAA.USER.IS_MEMBER_OF("AD_Group") && SYS.TIME.BETWEEN(<time1>, <time2>)

Below is the link to "Expressions for the NetScaler system time"
https://docs.netscaler.com/en-us/citrix-adc/current-release/appexpert/policies-and-expressions/adv-policy-exp-working-with-dates-times-and-numbers/expressions-for-system-time.html 
 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...