Go to the table of contents Go to the previous page Go to the next page View or print as PDF
Creating Custom Block Pages : Get started with block page elements
Get started with block page elements
Custom Block Pages | Web Protection Solutions | v8.5.x | 29-Apr-2022
 
Warning 
The standard block pages included with your web protection solution contain the following elements:
1.
The header explains that the site is blocked.
2.
The top frame contains a block message showing the requested URL and the reason the URL was blocked.
3.
The bottom frame presents any options available to the user, such as the option to go back to the previous page, or to click a Continue or Use Quota Time button to view the site.
When a cloud application is blocked, the block page contains similar elements:
1.
The header explains that the application is blocked.
2.
The top frame contains a block message showing the requested application and the reason the application was blocked.
3.
The bottom frame presents any options available to the user, such as the option to go back to the previous page, or to click a Continue or Use Quota Time button to view the site.
If the site is blocked because it belongs to a category in the Security Risk class, the block page has a special header:
The block page is created from multiple files that are stored with each instance of Filtering Service in your network. This includes V-Series appliances and Windows and Linux servers.
*
C:\Program Files\Websense\Web Security\BlockPages\<language_code>\Default
or
C:\Program Files(x86)\Websense\Web Security\BlockPages\<language_code>\Default
*
/opt/Websense/BlockPages/<language_code>/Default
*
There are 2 primary HTML files used to construct block pages:
*
master.html constructs the header and top frame for the block page, and uses one of the following files to display appropriate options in the bottom frame
 
Content for the page that appears when a user clicks the More information link on the block page.
Content for the page that appears when a user clicks the More Information link on the cloud application block page.
*
block.html contains the text for the top frame of the block message, which explains that access is restricted, lists the requested site, and describes why the site is restricted.
In addition, several supporting files are used to supply the text content, styles, and button functionality used in block pages:
 
The Web DLP module adds the file policyViolationDefaultPage.html, which provides block page content when Web DLP components block content from being posted or downloaded.

Go to the table of contents Go to the previous page Go to the next page View or print as PDF
Creating Custom Block Pages : Get started with block page elements
Copyright 2022 Forcepoint. All rights reserved.