# Add Access rules for custom URL List Applications

Use URL List Application elements in the Access rules to block or allow individual URLs.

## Before you begin

If you want to add a User Response element to the rule, you must have a custom User Response element.

##

You can use URL List Applications in Firewall, IPS, Layer 2 Firewall, and Layer 2 Interface Policies.

For more details about the product and how to configure features, click Help or press F1.

## Steps

1. Right-click a policy and select Edit <policy type>.
2. On the IPv4 Access or IPv6 Access tab, add a rule.
   Tip: As a general guideline, we recommend placing rules that allow traffic above rules that block traffic.
3. Drag and drop elements from the Resources pane on the left to the Source and Destination cells.
4. Add URL List Application elements in one of the following ways:
   - Drag and drop one or more elements from the Resources pane on the left to the Service cell.
   - Add elements to the Service definition.
5. In the Action cell, select the action depending on the purpose of the rule.
   - To allow matching traffic, select Allow.
   - To block matching traffic, select Discard.
6. (Optional, Discard action only) To display warnings or notes in the users’ browsers when URL filtering prevents access, add a User Response element to the rule.
   1. Right-click the Action cell and select Edit Options.
   2. On the Response tab, select Override Settings Inherited From Continue Rule(s).
   3. Next to the User Response field, click Select.
   4. Select your custom User Response element and click Select.
   5. Click OK.
7. (Optional) In the Logging cell, configure the logging options for the rule.
8. Click Save and Install.