Change the block page logo

Before you begin

The master.html file also includes the HTML code used to display a Forcepoint logo on the block page. You can replace this with a custom image of your choice.

To update the logo in the master.html file:

Steps

  1. 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
  2. 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
  3. 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.
  4. 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.

  5. Save and close the file.
  6. 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.