How to Restrict Document Check-In Based on File Extension in WebCenter Content

Solution:

Document extensions can be restricted by using the following setting:

FilenameBlackListRegex

For example to restrict the following extensions you would add this to the config.cfg file

FilenameBlackListRegex=(^.*\\.exe$)|(^.*\\.bat$)|(^.*\\.sh)|(^.*\\.js$)|(^.*\\.jar)|(^.*\\.mp4)|(^.*\\.css)|(^.*\\.war)|(^.*\\.class)|(^.*\\.apk)

NOTE: ADMINS are EXEMPT for this setting meaning they will still be allowed to check-in content with these extensions. This will ONLY work for NON-ADMINs

Steps:

  1. Add the setting to the config.cfg file
  2. Restart the managed server

Is your organization have difficulty managing your current WebCenter environment? Contact Inspired ECM to learn about our Managed Services offerings.