Strict allow/deny/redirect rules for a web application can be configured on the WEBSITES > Allow/Deny/Redirect page. Allow/deny/redirect rules allow you to customize access to the web application based on a set of matching criteria. An administrator can configure a rule to control access to certain portions of the web application as per the business requirement without changing any configuration on the web application itself.
A rule can be configured for a URL match, a host header match, and a set of optional extended match criteria (example: client IP address or the HTTP method). Once a match is found, the request will be processed as per the configured action. The rule action can be configured to either redirect the incoming request to another absolute URL, or to continue the processing of the request using the other security layers of the Barracuda Web Application Firewall, in addition to allowing or denying a request explicitly.
To configure a specific match, click Add or Edit next to the service and use the Extended Match widget. For rule matching and subsequent evaluation, URL match and host header matches are prioritized over extended matches. If more than one rule with the same URL match/host header match is configured, they are evaluated based on the specified extended match sequence.
To create a URL ACL rule:
- Go to the WEBSITES > Allow/deny/Redirect page.
- In the URL : Allow/deny/Redirect Rules section, identify the service to which you want to add the URL ACL rule.
- Click Add next to the service. The Create ACL window opens.
- Specify appropriate values for the given fields and click Save.
For more information, click Help in the web interface.