Go to the table of contents Go to the previous page Go to the next page View or print as PDF
Administration > Toolbox > Web block pages
Web block pages
Help | V-Series Appliance | Version 8.0.x
The appliance hosts a set of default Web block pages. These are displayed to end users each time a web request is blocked.
Block pages are constructed from HTML and JavaScript files. By default, the block page has 3 main sections:
*
*
*
If the site is blocked because it belongs to a category in the Security Risk class, a special version of the block page is displayed.
Block pages are described in detail in the section titled Block Pages, in Administrator Help for the Web module.
To verify the behavior and appearance of Web block pages, use the links at testdatabase.websense.com to attempt to access test sites in categories that your organization blocks.
Use the Administration > Toolbox page to determine whether to:
*
*
Customizing block pages
When you select Custom block page, a copy of the default block page files is created in an editable directory on the appliance. The default block page files are neither moved nor deleted, so that you can revert to them at any time.
After selecting the custom block page option:
1.
Select the files you want to change, and then click Download File(s). The files are copied to a location on your computer that you specify. The available files are:
 
Content for the page that appears when a user clicks the More information link on the block page.
*
*
2.
 
Important 
Do not change the default file names.
*
*
*
*
3.
Click Upload File(s) to place the modified files and any supporting graphics files on the appliance.
*
*
4.
Click Apply Changes. This restarts Filtering Service.
5.
To test the customized block pages, go to testdatabase.websense.com and try to access test sites in categories blocked by your organization's policies.
6.
Changing the block page logo
The master.html file includes the HTML code used to display a Websense logo on the block page. To display your organization's logo instead:
1.
Download the master.html file to a temporary directory.
2.
3.
Open master.html in a text editor, such as Notepad or vi (not an HTML editor), and edit the following line to replace the Websense logo with the image name for your organization's logo:
<img title="Websense" src="/Images/wslogo_block_page.png" ...>
*
Replace the value of the title parameter to reflect the name of your organization.
*
*
Replace wslogo_block_page.png with the name of the image file containing your organization's logo.
The result will look something like this:
<img title="ABC_Corporation" src="/en/Custom/myimage.png" ...>
Note that parameter and folder names are case-sensitive.
4.
5.
Upload both the image file (containing your logo) and the edited copy of master.html to your V-Series appliance, and then click Apply Changes.
Changing the size of the message frame
Depending on what information you want to provide in the block message, the default width of the block message and height of the top frame may not be appropriate. To change these size parameters:
1.
Download the master.html file.
2.
3.
<div style="border: 1px solid #285EA6;width: 600px...">
Change the value of the width parameter as required.
4.
<iframe src="$*WS_BLOCKMESSAGE_PAGE*$*WS_SESSIONID*$" ...
scrolling="no" style="width:100%; height: 6em;">
Change the value of the scrolling parameter to auto to display a scroll bar when message text exceeds the height of the frame.
You can also change the value of the height parameter to change the frame height.
5.
6.
Starting over
If you need to start over with a default block page file at any time, click the default files link under the Upload and Download buttons. This allows you to download a copy of the default block page files to your local machine.
Edit the files you want to change, and then upload the edited files to the appliance.

Go to the table of contents Go to the previous page Go to the next page View or print as PDF
Administration > Toolbox > Web block pages
Copyright 2016 Forcepoint LLC. All rights reserved.