Description | This article describes why after configuring the FortiWeb feature 'File Security Policy' to block certain file types 'for example: exe' small size exe files 'ex:1 MB' are getting blocked however large exe files 'ex: 10 MB' PDFs are getting bypassed. |
Scope | FortiWeb. |
Solution |
FortiWeb by default parses files up to 5MB and if the file's size exceeds this value the connection will be bypassed, This issue can be fixed by adjusting the antivirus buffer size.
config system antivirus set uncomp-size-limit 10240 end
Note: This buffer is not for antivirus only, it is for both antivirus and File Security. |