40-URL+Filtering+Profile
40-URL+Filtering+Profile
To create custom URL Filtering Profiles, select Objects> Security Profiles> URL Filtering Add new
profile or can used already created default predefined profiles (Default).
To create New or clone default URL Filtering Profile type the name of Profile in our case URL-
Profile, front of every category take specific actions per each category based on company’s your
internal security policies.
Allow List Exclude specific websites from URL category enforcement in order to enforce
that website separately from the associated URL category. Add sites you want to
always allow to the Allow List.
Block List Add sites to the Block List that you block, alert on, password protect, or warn
users against accessing.
Action Select the action to take when a web site in the block list is accessed.
Select Objects > Security Profiles > URL Filtering > User Credential Detection to enable the
firewall to detect when users submit corporate credentials.
Settings Description
IP User This credential detection method checks for valid username submissions.
Group The firewall determines if the username a user submits to a restricted site
Mapping matches any valid corporate username.
Domain This credential detection method enables the firewall to check for a valid
Credential corporate username and the associated password.
Let’s modify the URL Filtering Profile go to Objects > Security Profiles > URL Filtering > click on
custom created ULR Profile named: URL-Profile on categories tab in search type social and type
enter button or arrow to search for Social-networking in Site access change the action to block.
Click OK and commit the changes.
From inside any PC access any Social-Networking Websites such as Linkedin.com, twitter.com
or instagram.com it will show Web Page Blocked page as shown below.
Go to Monitor > Logs >Logs >URL Filtering to see the URL logs.
Let’s Overrides the URL Filtering Rules allow facebook.com and block google.com. Commit.
From inside any PC access any Social-Networking Websites such as Linkedin.com, twitter.com
or instagram.com it will show Web Page Blocked page and will ask the password to continue.
Let’s go to Device > Setup > Content-ID URL Settings for URL Admin Override click on Add and
specify the settings that apply when URL filtering profile blocks page & Override action is
specified.
Password/Confirm Password—Enter the password that the user must enter to override the
block page.
CLI Command to test URL Category type test url and then input your website to check category.
admin@PA-VM> test url facebook.com
facebook.com social-networking (Base db) expires in 1800 seconds
facebook.com social-networking (Cloud db)
Or visit this Palo Alto Network Firewall URL link to find out any website category.
https://urlfiltering.paloaltonetworks.com/query/
example youtube.com