E-mail content filtering may look for types and content of attachments, look for key words, phrases, and/or use bayesian (statistical) methods for blocking content.
Web content filtering may use heuristic, language filtering (words, phrases, proximity, regular expressions) or filter based on content type.
Any business-class solution will use a combination of these methods.
Other Options
Blocking or allowing access based on the source of the information are called source filtering solutions. Filtering sites without considering content is often integrated in content filtering solutions. Site filtering can also be implemented separately from content filtering. Fitering by URL, DNS name, or IP address precludes any commuication with the remote site or server and therefore does not require examination of content. Maintaining and updating lists or databases of sources is required, and is a consideration before using source filtering. Is a vendor's automatic updating of sources useful, prompt, and reliable? Is customization required? Do you or your staff have time to spend on it?