How to Insert Logo into Blocked Page?

When Web Safety blocks HTTP request or response, it sends back to client the Blocked Page that is a simple HTML file stored in /opt/websafety/etc. If you would like to extend the page with the logo or any other image possible solution might be to use the Data URI scheme.

For example the following image

../../_images/logo.png

can be encoded as Base64 Data as:

<img alt="" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAIAAACzY+a1AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAg7SURBVHhe7Zwxcts8FIRzrhwo5/EZcgQXOUCOkDZVujSecZGZFCn+XxKXHwgQgACSsB7t980Wa60FgViCpDMTffr09bfr3Ep/dp1O6c+u0wn3n3MSqEzCKXfMQ2USTrljHiqTcMod81CZhFPumIfKJJxyxzxUJuGUO+ahMgmn3DEPlUk45Y55qEzCKXfMQ2USTrljHiqTcMod81CZhFPumIfKJJxyxzxUJuGUO+ahMgmn3DEPlUk45Y55qEzCKXfMQ2USTrljHiqTcMod81CZhFPumIfKJJxyxzxUJuGUO+ahMgmn3DEPlUk45U6JX6/TQn35pRceBZVJOOUH8PcLo896+GEfwAep8Nv3xdCJvv/VL52Uj1Bh6O/5z0+9duP1z+fLi17hQWiREU75ZqaeLkr6eze8/wrnI/z8459eeWd4hafn41TYcyH99/Q8zyPo9ZvSiJ8/Xq7pPHj83BS/hZlc9fL0qpeXJKPpx1n5ku5VmAxSOpD9xJ9y5OPM4m+JhieX2rNrbiuHReemG+u2stlzYstomUOoVFga5KIBD3HpR+CU7yE6/e9ccKYK098Ja5HuntJGCa8/v+i9rFrzaIuOw0mQFl+qMHxKtO04Rw+/s0zDBuGU7yRu8aLuAyis1GLR0z6WGzr5ON5Vev2i1anG5SR/fU5+f/70zGWzEu1hmkYQTvkBZK5mq2UqM5/UpUXPDMV5s75qsUXiqDZaKc1WWJitKLS+k2nMIJzyw0iLbN2OdyrMPZ7U1nHeUvkK8w87LH00YLYPvVgYp17wVqZpBOGUH8yyyOxxZv5B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pzsYO+0+5nFm4ZS3srXC5fm4aZcsL0rpblgudOe17g5Dp90J40g45a1srHB5oav++VWkMsKwq+jYaffCOBJOeSsbK9x/MlZ6OvBMTxg67V7COJNwylt5WIXla9q+J44qI6fdTRhnEk55K9sqPGKVmyosPzJEDyZZrd87dNrdhHEm4ZS3ctoKl28vaHWv8goXPP5Cen8XZh43/EIaOPa5IFnrXYMvlnhEhe/niXT/kSxXMxlh1+DVCodOuxfGkXDKWzmgwk3Xk+oNb3mx6pnVleYKj592J2Emk3DKW9lY4e5/QFl87vofuqL7XOdKVSscO+1O5nFm4ZS3srXC6GD6z8flPsvshuiJpm+71CscO+0+wlCTcMpb2VxhdFfoPJ6GZ87lYnWt9Z0KB0+7B4aScMpb2V7h5lWObkjFD403YvtV616Fg6fdQRhtEk55KzsqTFa58e3x33O1czn5y69x/LsVjp52M4wm4ZS3sqfC1Srf3SvRDmi4jiW/37J29yscP+02ojEvwilvZV+FF1arnF+R9a81LkRm/Hw30YWu/Gti9LQbSEfGKW9lUWGD8psgPakb1LUQG8a/6c6WHT3te6SD45S30ldh5byOnvRqan4wSchtx5Jq+y9m+LTLpB+BU95M8zFcdf9WVD61D3kEuLC+YKLtHzF+2muSD9peofMoqEzCKXfMQ2USTrljHiqTcMod81CZhFPumIfKJJxyxzxUJuGUO+ahMgmn3DEPlUk45Y55qEzCKXfMQ2USTrljHiqTcMod81CZhFPumIfKJJxyxzxUJuGUO+ahMgmn3DEPlUk45Y55qEzCKXfMQ2USTrljHiqTcMod81CZhFPumIfKJJxyxzxUJuGUO+ahMgmn3DEPlUk45Y55qEzCKXfMQ2VS+rPrdEp/dp1O6c+u0yn92XUuff39P+xpN0KmYfCLAAAAAElFTkSuQmCC" />

Then just add this image tag to the HTML where you find it appropriate.