Turning off active content filtering 

Only turn off active content filtering if you have secured your network against cross-site scripting attacks by other means.


Before starting

The active content filter removes potentially harmful text content, such as JavaScriptâ„¢, from user input added to a post or entry before saving the post or entry to an application; it does not filter file attachments. Before you disable active content filtering, be sure you have considered the security implications of this decision. See Securing applications from malicious attack for more information.


Procedure

  1. Start the wsadmin client. See Starting the wsadmin client for details.

  2. Find out what the current setting is for the active content filter property. See Edit configuration files for details and to find out which commands to use to check out the configuration files.

  3. Change the active content filtering property for the application using one of the following commands:

    • Activities:

        ActivitiesConfigService.updateConfig("activeContentFilter.enabled", "false")

    • Blogs:

        BlogsConfigService.updateConfig("ACFEnabled", "false")

    • Bookmarks:

        DogearCellConfig.updateConfig("activeContentFilter.enabled", "false")

    • Communities:

        CommunitiesConfigService.updateConfig("activeContentFilter.enabled", "false")

    • Files:

        FilesConfigService.updateConfig("activeContentFilter.enabled","false")

    • Forums:

        ForumsConfigService.updateConfig("activeContentFilter.enabled","false")

    • Profiles:

        ProfilesConfigService.updateConfig("activeContentFilter.enabled","false")

    • Wikis:

        WikisConfigService.updateConfig("activeContentFilter.enabled","false")

  4. Apply your changes. See Apply property changes for details.


Parent topic

Securing applications from malicious attack


Related tasks


Starting the wsadmin client
Change common configuration property values
Edit configuration files


   

 

});

+

Search Tips   |   Advanced Search