AntiSSRFPolicy.DenyAllUnspecifiedIPs Property
Definition
Determines whether all IP addresses should be blocked by default or only DeniedAddresses should be blocked.
To allow specific addresses, see addAllowedAddresses.
public bool DenyAllUnspecifiedIPs { get; set; }
Property Value
bool
trueif all IP addresses NOT specified byAddAllowedAddressesshould be blocked.falseif only addresses inDeniedAddressesshould be blocked.
Default: false (unless using InternalOnly, which sets it to true)
Exceptions
AntiSSRFException Thrown when attempting to change the property after the policy has been used to create a handler via GetHandler().