Change the block page logo
Before you begin
Steps
-
Open the copy of the file in the Websense/BlockPages/<lang_code>/Custom directory (Windows or Linux servers), or download a copy of the file from your
appliance:
curl -k -u admin:<password> -X GET https://<c_interface>/wse/customblockpage/file/default/<Lang>/ master.html
-
Copy an image file containing your organization’s logo to the BlockPages/ Images folder:
curl -k -u admin:<password> -X PUT -F "file=@./<filename>" https://<c_interface>/wse/customblockpage/ images
-
Open the copy of master.html in a a text editor or HTML editor.
Warning: Some HTML editors modify HTML code, which could corrupt the files and cause problems displaying the block messages. Make sure to use an editor that will not insert changes beyond those you intend to make.
-
Edit the following line to replace the Forcepoint logo with your organization’s logo:
<img title="Forcepoint" src="/Images/logo_block_page.png" alt="Forcepoint Logo" ... >
- Replace logo_block_page.png with the location and name of the image file you want to display (for example, your organization’s logo).
- Replace the values of the title parameter and alt parameter to accurately describe the new image.
For example:
<img title="MyCompany" src="/Images/ mycompany_logo_block_page.png" alt="MyCompany Logo" ... >
The default block page logo is 228 pixels wide by 54 pixels high. If you change the size of the logo dramatically, additional HTML or CSS changes may be needed to ensure that the logo and other elements of the page display properly.
- Save and close the file.
-
Do one of the following to apply your changes:
- For Filtering Service instances on Windows and Linux servers, use the Status > Deployment page in the Web module of the Forcepoint Security Manager to restart Filtering Service.
- For Filtering Service instances on appliances, first upload the file, then restart Filtering Service:
curl -k -u admin:<password> -X PUT -F "file=@./ master.html" https://<c_interface>/wse/ customblockpage/file/<lang_code>
curl -k -u admin:<password> -X PUT https://<c_interface>/wse/admin/filter/stop
curl -k -u admin:<password> -X PUT https://<c_interface>/wse/admin/filter/start
Block page changes do not go into effect until Filtering Service has restarted.