Customizing the block and confirming the redirect block page

Customize the block and confirm redirect block page to show an Isolate button that links to the Forcepoint RBI redirect URL.

This procedure uses continueFrame.html as the block and confirm redirect block page. If you have an appliance-based installation, then Curl is suggested to manage the block page through API requests.
Note: You must have the latest hotfixes installed, if you are on Forcepoint Web Security v8.5.4.

Steps

  1. Create a backup copy of the continueFrame.html block page. If the Filtering Service resides on a Windows or Linux server, go to the default block page directory. For English, this directory is Websense/Web Security/BlockPages/en/Default .
  2. For appliance-based installations, get the continueFrame.html page. In the terminal, type:
    curl -k -u admin:{PASSWORD} -X GET https://Cinterface/wse/customblockpage/file/default/en/continueFrame.html > continueFrame.html 

    where {PASSWORD} is the password for the admin account.

  3. Open continueFrame.html and change the Forcepoint RBI URL to the assigned RBI redirect URL (https://<mycompany>.rbi.forcepoint.net/loader in the code sample below) and add your Tenant ID (<my_tenant_id> in the code sample below).
    <!-- CONTINUE section -->
        <table class="option">
        <tr>
            <td>
                <form action="https://<mycompany>.rbi.forcepoint.net/loader" method="get" target="_top" name="ContinueForm">
                    <input type="hidden" name="SD" id="SD">
                    <script type="text/javascript">
               document.getElementById('SD').value=Base64.encode('TenantID=<my_tenant_id>'+'&url=
    '+'$*WS_RAWURL*$'+'&X-Authenticated-User='+'$*WS_USERNAME*$') ;
                    </script>
                    <input type="submit" value="Isolate" name="" class="ws_btn">
                </form>
            </td>
            <td>
                    <span id="continue-text" class="ws_btn_desc">Click <strong>Isolate</strong> to view this page for work-related reasons in <strong>Isolated</strong> Browser.<script type="text/javascript">writeWarning()</script></span>
            </td>
        </tr>
    </table>
  4. Save the updated file.
  5. For appliance-based installations, upload the modified continueFrame.html page. In the terminal, type:
    curl -k -u admin:{PASSWORD} -X PUT -F file=@continueFrame.html https:// Cinterface /wse/customblockpage/file/en"

    where {PASSWORD} is the password for the admin account.