Configuring the active content filter for Blogs, Wikis, and Forums
HCL Connections™ provides a set of active content filter (ACF) configuration files that you can apply to the Blogs, Wikis, or Forums applications to limit or widen the types of content that users can add to their blog posts, wiki pages, or forum posts.
Before you begin
By default, Blogs, Wikis, and Forums filter
active content in the following ways:
- Javascript is stripped from all posts and pages.
- You can change the formatting of content within rich text fields and styles can be added using HTML.
- Flash animations are permitted.
The following configuration files are shipped with Connections and stored in the LotusConnections-config\extern directory. To change the level of filtering that is performed by the active content filter, you can replace the default configuration file with one of these files.
- acf-config.xml
- Allows style changes, allows forms, but strips flash. Flash is a format used for videos and animated content.
- acf-config-nf.xml
- Allows style changes, but strips forms and flash. The types of forms that are not allowed are form HTML elements. Form HTML elements are used to add things like buttons or fields to a web page.
- acf-config-ns.xml
- Allows forms, but strips style changes and flash. Preventing style changes affects rich text fields. If you configure the active content filter to prevent style changes, then users will not be able to perform the common tasks associated with changing the style of rich text content, such as changing the font color, margins, and so on.
- acf-config-nf-ns.xml
- Prevents style changes and strips forms and flash.
- acf-config-flash.xml
- Allows style changes, allows forms, and allows flash.
- acf-config-nf-flash.xml
- Allows style changes and flash, but strips forms. This file is the default file used by Blogs, Wikis, and Forums.
- acf-config-ns-flash.xml
- Allows forms and flash, but strips style changes.
- acf-config-nf-ns-flash.xml
- Allows flash, but strips style changes and forms.
- acf-config-nm.xml
- Prevents users from changing the margins on images and strips flash.
- acf-config-nm-flash.xml
- Allows flash, but prevents users from changing the margins on images.
To edit configuration files, you must use the wsadmin client. See Starting the wsadmin client for details.
Procedure
- Edit the LotusConnections-config.xml file.
- Synchronize the nodes using the Integrated Solutions Console for the network deployment system.
- Restart the WebSphere® Application Server.