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 you begin
Procedure
- Start the wsadmin client. See Starting the wsadmin client for details.
- Use the wsadmin client to access and check out the HCL Connections™ configuration files.
-
Run the following commands for the Connections component where you want to disable ACF:
In the commands, replace /opt/ictemp with the temp location on your deployment manager where you store checked out files, and replace cprice6lCell01 with the cell name of your environment. To determine the cell name, run the following command from the wsadmin> prompt:
print AdminControl.getCell()
.- Activities:
execfile('activitiesAdmin.py') ActivitiesConfigService.checkOutConfig("/opt/ictemp","cprice6lCell01") ActivitiesConfigService.updateConfig("activeContentFilter.enabled", "false") ActivitiesConfigService.checkInConfig("/opt/ictemp","cprice6lCell01")
- Blogs:
execfile('blogsAdmin.py') BlogsConfigService.checkOutConfig("/opt/ictemp","cprice6lCell01") BlogsConfigService.updateConfig("ACFEnabled", "false") BlogsConfigService.checkInConfig("/opt/ictemp","cprice6lCell01")
- Bookmarks:
execfile('dogearAdmin.py') DogearConfigService.checkOutConfig("/opt/ictemp","cprice6lCell01") DogearCellConfig.updateConfig("activeContentFilter.enabled", "false") DogearConfigService.checkInConfig("/opt/ictemp","cprice6lCell01")
- Communities:
execfile('communitiesAdmin.py') CommunitiesConfigService.checkOutConfig("/opt/ictemp","cprice6lCell01") CommunitiesConfigService.updateConfig("activeContentFilter.enabled", "false") CommunitiesConfigService.checkInConfig("/opt/ictemp","cprice6lCell011")
- Files:
execfile('filesAdmin.py') FilesConfigService.checkOutConfig("/opt/ictemp","cprice6lCell01") FilesConfigService.updateConfig("activeContentFilter.enabled","false") FilesConfigService.checkInConfig("/opt/ictemp","cprice6lCell01")
- Forums:
execfile('forumsAdmin.py') ForumsConfigService.checkOutConfig("/opt/ictemp","cprice6lCell01") ForumsConfigService.updateConfig("activeContentFilter.enabled","false") ForumsConfigService.checkOutConfig("/opt/ictemp","cprice6lCell01") ForumsConfigService.checkInConfig("/opt/ictemp,"cprice6lCell01")
- Profiles:
execfile('profilesAdmin.py') ProfilesConfigService.checkOutConfig("/opt/ictemp","cprice6lCell01") ProfilesConfigService.updateConfig("activeContentFilter.enabled","false") ProfilesConfigService.checkInConfig("/opt/ictemp","cprice6lCell01")
- Wikis:
execfile('wikisAdmin.py') WikisConfigService.checkOutConfig("/opt/ictemp","cprice6lCell01") WikisConfigService.updateConfig("activeContentFilter.enabled","false") WikisConfigService.checkInConfig("/opt/ictemp","cprice6lCell01")
- Activities:
-
Verify on the Application server nodes that each config.xml file has been
updated.
These files will be located in the following directory: /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/config/cells/cprice6lCell01/LotusConnections-config
- Activities: oa-config.xml
- Blogs: blogs-config.xml
- Bookmarks: dogear-config.xml
- Communities: communities-config.xml
- Files: files-config.xml
- Forums: forums-config.xml
- Profiles: profiles-config.xml
- Wikis: wikis-config.xml