How to apply confirm to websites/web categories using SonicOSX 7.0
12/03/2020 1 People found this article helpful 472,057 Views
Description
The CFS restriction action, Confirm can be used to confirm the web access rather than just block. Once Confirm has been selected, the user will be redirected to a confirm page after they attempt to access the specified website. In this page users will need to click on the confirm option to continue to the site.
A default page is defined already, but you can fully customize the web page that is displayed to the user when access to a confirm site is attempted.
Resolution
The Confirm action can be applied to the Web category, URI Lists, or both. For HTTPS websites, Client DPI-SSL must be enabled to apply Confirm
EXAMPLE: We would like to allow access to Web categories: Shopping, Search Engines and Portals, and also permit access to the websites: facebook.com, instagram.com, but only if the right passphrase is entered.
Steps
- Create a Decryption Policy
- Create Security Policies with the right web categories and URI list selected with CFS Action Profile to apply Passphrase.
We need to follow the following steps for this setup.
Creating a Decryption Policy:
Decryption policy matches the traffic and the only two action we can take are Decrypt and Bypass. With decryption, we get more visibility to the data helping us in performing better matches and applying the right security policy.
- Make sure that Client DPI SSL is enabled globally based on the KB article: How to create Decryption Policy on SonicOSX 7.0 ?
- Navigate to Policy | Rules and Policies | Decryption Policy tab and click on Top at the bottom of the screen. If you have multiple policies it is very important to choose the right priority to make sure that the decryption policy is getting applied to the necessary traffic.
- Select the appropriate Source/Destination/Service or leave all options on Any to decrypt all traffic. Make sure that the action is set to Decrypt and the policy is enabled.
- On the URL tab, you can do this for specific web categories or to the URI list. In this example, they are left on Any. Click Save.
Creating a Security Policy
Security Policy ties together the URI list object, Web category and Security Rule Action so that we know what action needs to be taken for a specific match. Before an HTTP/HTTPS connection can be made, the end machine would need to perform DNS resolution of the URL. Since we have an implicit deny rule, DNS traffic needs to be allowed as well.
To create the DNS-related Security Policy:
- Navigate to Policy | Rules and Policies | Security policy tab and click on Top at the bottom of the screen. This adds the new Policy at the top of the list. You might need to adjust its priority based on other rules you have.
- Assign a relevant name and in the Source/Destination tab, you can select many fields like source/destination zones, address, services, users and geo-location settings. Select the destination Port/Services as DNS (Name Service).
- Under App/URL/Custom Match tab leave everything on defaults.
- Select the Default Profile as the Security rule action. Make sure that the Action is set to Allow and the policy is in Enable state. Click Save.
NOTE: This policy can also be created using the DNS protocol application signature, but this example is configured using the services.
To create the Confirm action to allow websites and web categories related to Security Policy:
- Navigate to Policy | Rules and Policies | Security policy tab and click on Bottom at the bottom of the screen. This adds the new Policy at the bottom of the list. You might need to adjust its priority based on other rules you have.
- Assign a relevant name and in the Source/Destination tab, you can select many fields like source/destination zones, address, services, users and geo-location settings.
- Under App/URL/Custom Match, set the radio button for 'Match Operation' to OR. Select the pencil icon next to Web Category to add a new Web Category
Group.
- Give this new Web Category Group a relevant name. Add the required web categories to the right menu using the right arrow and click Save.
- Then, select the pencil icon to add a new URI List object. For more details on creating URI List objects, refer to the KB article, " How to create URI list objects/ groups in SonicOSX 7.0 ?"
- Under the Security Rule Action dropdown, click on the pencil icon to create a new Security Action.
- Give it a relevant name, you can then set several security parameters, but the most important section for this setup is Content Filter. Navigate to the Content Filter tab and move the toggle button to turn on 'Enable Content Filtering'. The Content Filter Action should be set to Confirm.
- On the Security Policy, make sure that the Action is set to Allow and the policy is in enable state. Click Add.
While visiting websites like flipkart.com or websites that belong to the Shopping and Social Networking categories, the following page shows up. You need to click on Continue to access the website or Close to cancel the page.
Related Articles
Categories