Operation: Update Web Content Filter
Description: To update Web Filter Settings. 

Sample Configuration
<WebFilterSettings> <PharmingProtection>Enable/Disable</PharmingProtection> <Scanning>Single Anti-Virus (Maximum Performance)/Dual Anti-Virus (Maximum Security)</Scanning> <BlockUnscannableContent>Enable/Disable</BlockUnscannableContent> <OverrideDefaultDeniedMessage>Enable/Disable</OverrideDefaultDeniedMessage> <DefaultDeniedMessage>Default/{Message}</DefaultDeniedMessage> <OverrideDefaultWarnedMessage>Enable/Disable</OverrideDefaultWarnedMessage> <DefaultWarnedMessage>Default/{Message}</DefaultWarnedMessage> <DeniedMessageImage>Default/Custom</DeniedMessageImage> <TopImageFile>{FileNamePassedInMultipartRequest}</TopImageFile> <BottomImageFile>{FileNamePassedInMultipartRequest}</BottomImageFile> <PUAWhitelist> <PUA>Name of PUA</PUA> : : : </PUAWhitelist> </WebFilterSettings>



Parameter Mandatory Default Description
PharmingProtectionNo Disable 
Enable to protect against Pharming attacks.
PharmingProtection confines to:
  • Type is 'SCALAR'.
  • Only 'Enable', 'Disable' are allowed.
ScanningNo Single Anti-Virus (Maximum Performance) 
Scan Engine Selection.
Scanning confines to:
  • Type is 'SCALAR'.
  • Only 'Single Anti-Virus (Maximum Performance)', 'Dual Anti-Virus (Maximum Security)' are allowed.
BlockUnscannableContentNo Block (Best Protection) 
Control of unscannable files.
BlockUnscannableContent confines to:
  • Type is 'SCALAR'.
  • Only 'Allow', 'Block (Best Protection)' are allowed.
WebCachingNo Disable 
Enable web content cache
WebCaching confines to:
  • Type is 'SCALAR'.
  • Only 'Disable', 'Enable' are allowed.
DeniedMessageImageNo  
Select to display default or custom image on notification page.
DeniedMessageImage confines to:
  • Type is 'SCALAR'.
  • Only 'Custom', 'Default' are allowed.
TopImageFileNo  
Specify the image to display at the top of the message page.
TopImageFile confines to:
  • Type is 'SCALAR'.
  • Datatype is 'FILE'.
  • File formats 'jpg', 'jpeg' are allowed.
BottomImageFileNo  
Specify the image to display at the bottom of the message page.
BottomImageFile confines to:
  • Type is 'SCALAR'.
  • Datatype is 'FILE'.
  • File formats 'jpg', 'jpeg' are allowed.
OverrideDefaultWarnedMessageNo Enable 
Enable to override default Warned Message.
OverrideDefaultWarnedMessage confines to:
  • Type is 'SCALAR'.
  • Only 'Enable', 'Disable' are allowed.
DefaultWarnedMessageNo  
Custom Category Warned Message in HTML.
DefaultWarnedMessage confines to:
  • Type is 'SCALAR'.
  • Datatype is 'STRING'.
OverrideDefaultDeniedMessageNo Enable 
Enable to override default Denied Message.
OverrideDefaultDeniedMessage confines to:
  • Type is 'SCALAR'.
  • Only 'Enable', 'Disable' are allowed.
DefaultDeniedMessageNo  
Custom Category Denied Message in HTML.
DefaultDeniedMessage confines to:
  • Type is 'SCALAR'.
  • Datatype is 'STRING'.
DefaultFiletypeDeniedMessageNo  
Custom Filetype Denied Message in HTML.
DefaultFiletypeDeniedMessage confines to:
  • Type is 'SCALAR'.
  • Datatype is 'STRING'.
DefaultFiletypeWarnedMessageNo  
Custom Filetype Warned Message in HTML.
DefaultFiletypeWarnedMessage confines to:
  • Type is 'SCALAR'.
  • Datatype is 'STRING'.
OverrideDefaultOverrideMessageNo Enable 
Enable to override default override message.
OverrideDefaultOverrideMessage confines to:
  • Type is 'SCALAR'.
  • Only '0', '1' are allowed.
DefaultOverrideMessageNo  
Custom category override message in HTML.
DefaultOverrideMessage confines to:
  • Type is 'SCALAR'.
  • Datatype is 'STRING'.
OverrideDefaultQuotaMessageNo Enable 
Enable to override default quota usage message.
OverrideDefaultQuotaMessage confines to:
  • Type is 'SCALAR'.
  • Only '0', '1' are allowed.
DefaultQuotaMessageNo  
Custom category quota usage message in HTML.
DefaultQuotaMessage confines to:
  • Type is 'SCALAR'.
  • Datatype is 'STRING'.
PUANo  
List of allowed PUAs when PUA detection is enabled.
PUA confines to:
  • Type is 'ARRAY'.
  • Datatype is 'STRING'.
  • Multiple values are allowed.



Operation   Status   Message
Update Web Content Filter200
Update Web Content Filter500


© Copyright 2019 Sophos Firewall Limited. All rights reserved.
Sophos Firewall is registered trademarks of Sophos Firewall Limited and Sophos Firewall Group. All other product and company names mentioned are trademarks or registered trademarks of their respective owners.
No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording or otherwise unless you are either a valid licensee where the documentation can be reproduced in accordance with the license terms or you otherwise have the prior permission in writing of the copyright owner.