Skip to main content

MxAglzXV9UU4xzRhxi_aKKOVf3Yo4I0pxh7K-9d4VAHz8sHYb320oJdITvI6nvIDYb8ndBanLu49fSY9RDRhUPfAiqtb1xTymCEmAUxRNIBcoYaA4WAcsXh3sbZ-OUksesUbgTNh9pYrsgcj_LVIcrw

Netskope Global Technical Success (GTS)

Use case - How to block ‘Career’ page on any website

 

Netskope Cloud Version - 113

Objective

Block “career” section on any website

https://www.hdfcbank.com/personal/about-us/careers

https://www.icicicareers.com/website/

 

Prerequisite

Netskope SWG Entitlement is required

 

Context

Many customers have specific requirements about blocking a specific section on the website while allowing the rest of the website to be accessible to end users.

This use case is around such a requirement and will demonstrate how to block “careers” section on the website while keeping the rest of website accessible to end users

 

Lab Recreate :

The idea here is to create a Regex that will match the keyword career in the Website but at the same time it should not block any search made on any search engine related to the word career.

Eg : https://www.hdfcbank.com/personal/about-us/careers : This Website should get blocked

However, the second URL as shown below that appears when you simply type the keyword “career” in the search option of a search engine, should not be blocked : 

 

jHyEssS8hIV-Yex4hkOuEgtse9xaRUyumm44oTUojrSg4EFOOyi-H1OO-RsHJRuBrbo0qwTLGJ4EooRbOy7vDyxuyu8jFk5YVto1O9-BX9y9l0DsVd2EbK1E5C4Glk1SWgpW3YzOBLIYs80raIC9IDI

 

To create a Regex and understand the supported syntax, you can leverage this document from Netskope Knowledge base

 

Below steps can be followed to accomplish this use case : 

  • Create a Regex that will detect the keyword “Career” in any URL : 

To validate the regex you can use Regex Tester Tools

nVCJ1NgKTJCzq9tVXLOru_mF9F9jUsPT5zRl-L0Qdki8ILOYiwCjbZABw53UZYTyme_cPPGUZ0-hoIRLRas9907JWXMVAK8wOda0lvNURU-u6XbLL9EumKQ1_5CHVeMce0vy9e9kLkk9L5AA-Yi2DaU

  • Create a Regex that will exclude the google searches for the keyword “career” else the above regex will also block the URLs that are associated with search of keyword “career” in the search engine

Z0P8dfKPiMniECdaALBR5MqJF8h3briVg8AcNfcyFqdmCHukcONsbOA0r7igBxuLPUNnf8GH67_kEkw5ntQM4YRDrWh9lQFPR50S_XbMu7Itzz72cccjRXLEnO-yM0m9b4vicbnvwGNamG9OpjsgdhU

 

Step 1 : Create a custom URL list under Policies - Web - URL List - New URL List with the first regex : 

v4skyrRPd1_ZaLLFFAN9XskpQ6Ehxvjxwtj4JpqhubKhWa2vhnX4xrdz6kimEzuUcKniGZE0MMJwz5p81j-hN2oqMq0JE54PaBNelaDh9Owoqm0F_bu3-pqA8RkDkbJ23VAXgNr8LLjm4RsO7nGm8pw

 

Step 2 :  Create a custom URL list under Policies - Web - URL List - New URL List with the second regex : 

2Y2OxZRLVYfGFvnTlPoG0n9nxdMqNWuMNl-hTY4TqwoTG2IdqJv5p8FQIsmgN7o3xcWdBoqa0frwUwPNzTgRb5UqFqK0cV_a6dwO4xfHoYFYEqyCovO3VZ81bSyxhogMFBIIAQ-MJ-pG96wxk4lp5FQ

 

Step 3 : Now create a Custom category with the URL list 1 in Inclusion and the URL list 2 in exclusion

75DqsC4l8oLHFzcEHxNthl3VRkhXH_1eM1CSc6V7ma-lDUfKnb4lV_xM_gDl8GqCHpTGH9JeZ63Gqy2x8bqr8xmvnVH58SHD345U8IxVumnftnnOFk2MidWbiRJ-UAK8QpHtTXjZJIcvpvHgACgyCks

 

Step 4 : Now go to the Real time protection policy page under Policies - Real Time protection policies - Web and create a Real time protection policy as shown below : 

NMYAVF4CV1rZ9dQnQdVeBRUpkAdUA17htWD7kbVbFDtG2XzMIrsryoCnL_jPApA0SzfuzaLrUZAZ6OgvMmnB4-IscWhCLvSNDOG9sQ66K0PposJPrR0YqjaiYQOGU5oZ4o03wEsjbUP3XMKAjr5O334

 

6Fb_ROz2vgFTagc5P_DIeq6Q-1PvlmbxFZ_V2i4tVBfBoAr5tRbD2Cs2GuMC4ReCkJxOBhUf3uhfTI8Oh0sPH71TdxSODMPvXGuVZ5zeWMqmsg2qqZiIUfF4aG5XEdw8HzegZwm046moGmclKMA8mds

 

 

Terms and Conditions

  • All documented information undergoes testing and verification to ensure accuracy.
  • In the future, If any such platform changes are brought to our attention, we will promptly update the documentation to reflect them.

 

Notes

  • This article is authored by Netskope Global Technical Success (GTS).
  • For any further inquiries related to this article, please contact Netskope GTS by submitting a support case with 'Case Type – How To Questions'.
Be the first to reply!