How do I configure an IP blacklist and whitelist?
Updated at:
Function Compute (FC) does not support configuring IP blacklists and whitelists for HTTP triggers and custom domain names. To implement this feature, use API Gateway or Web Application Firewall (WAF). If you do not want to use API Gateway or WAF, get the client IP address from the request header in your FC function code. Add your own filtering logic to implement IP blacklists and whitelists.
For more information, see Enable Web Application Firewall for a custom domain name, Protection rules of Web Application Firewall, and API Gateway plug-ins.
Is this page helpful?