Configuring an Input Validation policy
An Input Validation policy can prevent suspicious HTTP requests. This function will verify the user input from scan points such as URL parameter, HTML form, hidden fields, and uploaded files. If the input format is incorrect or FortiADC detects other attacks, the request will be blocked.
Input Validation policies consist of the following components that must have already been configured if they are to be included in the policy:
- Parameter Validation Rule. For details, see Configuring a Parameter Validation rule.
- Hidden Field Rule. For details, see Configuring a Hidden Field rule.
- File Restriction Rule. For details, see Configuring a File Restriction rule.
To configure an Input Validation policy:
- Go to Web Application Firewall > Input Validation.
The configuration page displays the Input Validation Policy tab. - Click Create New to display the configuration editor.
- Enter a unique Input Validation policy name. Valid characters are
A
-Z
,a
-z
,0
-9
,_
, and-
. No space is allowed. The name of the policy cannot be changed after saving initially. - Click Save to create the Input Validation Policy.
Once the Input Validation Policy has been saved, the Parameter Validation Rule, Hidden Field Rule, and File Restriction Rule sections are available to configure. - Under the Parameter Validation Rule section, add Parameter Validation rules to the Input Validation Policy.
- Click Create New to display the configuration editor.
- Select an existing Parameter Validation Rule or create a new configuration.
- Click Save to submit and exit out of the configuration editor.
- Under the Hidden Field Rule section, add Hidden Field rules to the Input Validation Policy.
- Click Create New to display the configuration editor.
- Select an existing Hidden Field Rule or create a new configuration.
- Click Save to submit and exit out of the configuration editor.
- Under the File Restriction Rule section, add File Restriction rules to the Input Validation Policy.
- Click Create New to display the configuration editor.
- Select an existing File Restriction Rule or create a new configuration.
- Click Save to submit and exit out of the configuration editor.
- Click Save to update the Input Validation policy.
After you have configured your Input Validation policy, you can reference it in a WAF Profile.