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 :
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
- 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
Step 1 : Create a custom URL list under Policies - Web - URL List - New URL List with the first regex :
Step 2 : Create a custom URL list under Policies - Web - URL List - New URL List with the second regex :
Step 3 : Now create a Custom category with the URL list 1 in Inclusion and the URL list 2 in exclusion
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 :
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'.