Beispiel #1
0
def deny(auth, addr):
    """
    Deny (blacklist) a single IP address. For all security mechanisms,
    this rejects the connection without any further
    authentication. Use either a whitelist, or a blacklist, not not
    both. If you define both a whitelist and a blacklist, only the
    whitelist takes effect.
    """
    return C.zauth_deny(auth, addr)
Beispiel #2
0
def deny(auth, addr):
    """
    Deny (blacklist) a single IP address. For all security mechanisms,
    this rejects the connection without any further
    authentication. Use either a whitelist, or a blacklist, not not
    both. If you define both a whitelist and a blacklist, only the
    whitelist takes effect.
    """
    return C.zauth_deny(auth, addr)