Configure Referrer Header Validation
Set up Referrer Header validation.
Referrer Header validation protects against CSRF attacks by allowing validated
host URLs.
To configure Referrer Header validation:
Note:
- Ensure there is a single space between <URL1> and <URL2>. Adding the URLs without a space between them or adding two or more spaces between them results in errors, and confirm that <URL> concludes with a forward slash (/).
- If you choose to set Referrer-Policy
no-referrer, disregard the above steps to configure Referrer
Header validation and proceed with the following:
- Open the
web.xml
file in the$FIC_HOME/ficweb/webroot/WEB-INF/
directory. The REFERRER_POLICY_FLAG is set to TRUE by default in theweb.xml
file:<context-param> <param-name>REFERRER_POLICY_FLAG</param-name> <param-value>TRUE</param-value> </context-param>
- Modify the referrer policy in the
web.xml
file to FALSE.
- Open the