MailBee MessageCensor

MailBee MessageCensor

MessageCensor is a FREE component primarily intended for censoring html content such as html-formatted email messages. MessageCensor can be used in conjunction with MailBee Objects or as a standalone component
OverviewDownload
     
Current version: 3.0
Last update: 24 Oct 2003

Clients


MessageCensor is a FREE component primarily intended for censoring html content such as html-formatted email messages. MessageCensor can be used in conjunction with MailBee Objects or as a standalone component.

MessageCensor can remove scripts, embedded objects, frames and so on. Also, text parsing is available, so you can cut those text parts which contain certain unwanted words or phrases.

All censorship rules are completely customizable. MessageCensor comes with a set of predefined rules which fit well for the most of situations. However, you can always set your rules or modify existing ones (for example, if you want to kill all graphics, you can tell MessageCensor to erase IMG tags).

All removed parts of the source string can be stored in the special collection, thus you can always check how exactly the MessageCensor has altered specified string.

Features

  • Removes unsafe tags, tag attributes using default rules database or custom rules defined by user
  • Can check tag attributes for scripts and delete these attributes only if scripts are found
  • For container tags (i.e. having opening and closing tag, like <SCRIPT>...</SCRIPT>) can remove all content between them
  • Correctly parses complex tag definitions (i.e. <SCRIPT language="Javascript" src="script.js"> will be recognized as <SCRIPT>, and <IMG SRC=abc.gif  TITLE="<SCRIPT>"> will be recognized as <IMG>)
  • Default rules (set by MessageCensor.SetDefaults method) cover most of situations typically found in virus-infected emails, spam messages and so on. These include embedded objects, applets, scripts in <SCRIPT> block, event handlers, IMG SRC/LOWSRC attributes, MSIE's data-binding attributes, IFRAMEs and more. Default rules can be easily extended or modified to better comply you needs. Text filtering is also available. If you need to remove some text from plain text (i.e. text between tags), you can find this feature very useful
  • Text filtering includes option to preserve html-formatting while removing plain text
  • MessageCensor can produce Report collection to inform you which parts have been deleted from the source string. This collection is similar to RegExp MatchesCollection