Block files larger than 8 MB
Set proxy options profile to block files larger than 8 MB
- Go to Security Profiles > Proxy Options.
- Edit the default or select Create New to add a new one.
- Scroll down to the common Options Section and place a check in the box next to BlockOversized File/Email
- The sub line Threshold (MB) will appear with a value field. Enter 8.
- Select OK or Apply.
The proxy options profile is configured, but to block files, you must select it in the firewall policies handling the traffic that contains the files you want blocked.
To select the Proxy Options profile in a security policy
- Go to Policy & Objects > IPv4 Policy (or IPv6 Policy, depending).
- Edit or create a security policy.
- Select a proxy-based security profile. You will know that there is a proxy component to the Security Profile because when a Security Profile is Proxy based the Proxy Options field will be visible (for example, select an Antivirus profile that includes proxy scanning).
- Beside Proxy Options select the name of the MTU proxy options protocol.
- Select OK to save the security policy.
- Once you complete these steps, any files in the traffic subject to Security Profile scanning handled by this policy that are larger than 8MB will be blocked. If you have multiple firewall policies, examine each to determine if you want to apply similar file blocking the them as well.
Having trouble configuring your Fortinet hardware or have some questions you need answered? Ask your questions in the comments below!!! Want someone else to deal with it for you? Get some consulting from Fortinet GURU!