- Make a customized web access control list (web ACL) rule to examine the request BODY.
- You will be creating a regex match condition within the rule. With the help of this regex pattern, you will be able to configure the rule to restrict various file extensions.
- Make the rule action to BLOCK.
- State the rule priority so that this custom rule will become a higher priority than any web ACL rule which can block this rule.
- Validating the rule will successfully block the specific file extension.