Facebook Twitter Instagram YouTube LinkedIn WhatsApp
    Facebook Twitter Instagram LinkedIn WhatsApp
    ZaveRizwanZaveRizwan
    Subscribe
    • Home
    • Features
      • Example Post
      • Typography
      • Contact
      • View All On Demos
    • Mobiles
    • Typography
    • Mobiles
      • Tech
      • Gadgets
      • Insights
    • Buy Now
    ZaveRizwanZaveRizwan
    Behavior

    denyAccess

    zaiveeBy zaiveeFebruary 6, 2023No Comments1 Min Read

    Property Manager Name: Control Access

    Assuming a condition in the rule matches, this denies access to the requested content. For example, a userLocation match paired with the denyaccess behavior would deny requests from a specified part of the world.

    By keying on the value of the reason option, denyaccess behaviors may override each other when called from nested rules. For example, a parent rule might deny access to a certain geographic area, citing “location” as the reason, but another nested rule can then allow access for a set of IPs within that area, so long as the reason matches.

    Options

    • reason (string): Text message that keys to why access is denied. Any subsequent denyaccess behaviors within the rule tree may refer to the same reason key to override the current behavior.
    • enabled (boolean): Denies access when enabled.

    Related Posts

    webdav

    February 6, 2023

    modifyOutgoingResponseHeader

    February 6, 2023

    tieredDistribution

    February 6, 2023
    Add A Comment

    Leave A Reply Cancel Reply

    © 2023 ZaveRizwan. Designed by ZaveRizwan.
    • Home
    • Tech
    • Gadgets
    • Mobiles
    • Buy Now

    Type above and press Enter to search. Press Esc to cancel.