-
To enable input filtering, follow these steps:
- Open the web.xml file used by the TomCat server for editing.
-
Add these lines:
<!-- XSS Input Filter filter -->
<filter>
<filter-name>XSSInputFilter</filter-name>
<filter-class>com.matrixone.apps.domain.util.XSSInputFilter</filter-class>
</filter>
-
Add these lines:
<!--XSS Input Filter mapping -->
<filter-mapping>
<filter-name>XSSInputFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
- Save the web.xml file.
- Create or open the text file to contain customized properties for emxSystem.properties. For more information, see Editing Properties Using MQL.
-
To enable the ability to restrict URL redirections to specific domains, follow these steps:
-
Add or edit this line in the file used to import properties into the emxSystem.properties page object:
emxFramework.Security.ReferentialURL.ReferentialURLEnable = false
-
Set the value for this property to true.
-
To define the domains that can be used for redirecting URLs, follow these steps:
-
Add or edit this line in the file used to import properties into the emxSystem.properties page object:
emxFramework.Security.ReferentialURL.WhiteListOfDomains=
-
Set the value for this property to a pipe-separated list of domain names.
-
When finished updating the text file with all properties you want to modify, including the ones shown here, use the text file to modify the emxSystem.properties page object. For more information, see Editing Properties Using MQL.
|