Block URL for Specific User through Cyberoam

Block URL for Specific User
Applicable to Version: 10.0 onwards
Requirement
To block a URL for a specific user
Cyberoam provides default categories, which can be used to block the malicious and objectionable contents. Category is a grouping of URLs. When we block the category, access to all the URLs get blocked. Hence, when we want to block specific URL’s of a category, ,we need to create a Custom Web Category. Custom web category is given priority over default category while allowing/restricting the access. The search result displays custom category name and not the default category name.For an hypothetical example to block URLs www.yahoo.com, www.orkut.com, www.facebook.com and www.youtube.comfor user ‘John’, we need to create a Custom Web Category.Document provides steps on creating custom web category and blocking the access for the user ‘John’.
Prerequisite   Web and Application Filter Module Subscribed
Solution
The entire configuration is to be done from Web Admin console. Access Web Admin console with user having “Administrator” profile.   Follow the below given steps to create a customized Web Category & block a URL for user ‘John’:
Step 1: Add Custom Web Category   E.g.: Create a Custom Web Category to block URLs www.yahoo.com, www.orkut.com, www.facebook.com and www.youtube.com for user ‘John’   Go to Web Filter –> Category –> Categoryand click “Add” button to create custom Web Category i.e. “BlockCategory”

Parameters Value
Name BlockCategory
Classification UnHealthy
Domain/Keyword www.yahoo.com,www.orkut.com, www.facebook.com, www.youtube.comNote* – Mention the name of the domains which needs to be blocked

Step 2:  Add Web Filter Policy

Go to Web Filter à Policy à Policy and click “Add” button to create a Web Filter Policy “BlockCategoryPolicy”

Parameters Value
Name BlockCategoryPolicy
Template Allow All
Enable Reporting Enable

Click ‘OK’ button to create a Web Filter Policy.

On successful creation of web filter policy, page navigates back to Manage page. From that page, edit the policy to add the categories.

Parameters Value
Category Type Web Category
Category BlockCategoryNote* – Select the Category “BlockCategory” as created in Step1.
HTTP and HTTPs Action Deny
Schedule All the Time

Click Add button and the Web Filter policy rule will be created successfully as shown in the below snapshot:
Step 3: Apply Web Filter Policy to User 

  • Go to Identity à Users à User
  • Select user to apply Web Filter policy created in Step 2.
  • Under Policies Section, select ‘BlockCategoryPolicy’ (Step2) for Web Filter
  • Click OK button to update 

Above configuration will block access to yahoo.com, orkut.com, facebook.com, and youtube.com for user ‘John’.