Books and toys for geeks and other kids (Amazon "top sellers")
O'Reilly
Linux
Unix shell
C / C++
Perl
PHP
Python
Java
JavaScript
TCP/IP
HTML
XML
.NET
PhotoShop
Dreamweaver
DirectX
Excel
Windows 2000
Windows XP
VBScript
MCSE
Security
Tops
BigRead
Dilbert
Far Side
Low Carb Diet
PDAs/Handhelds
Digital Cameras
Flash Sticks

Lowth.com Home | Protector Home | LinWiz Home | My Bookshelf | Topic Index | Changes | Search

check_rtf

Part of protector (http://protector.sourceforge.net)
By Chris Lowth, (protector@lowth.com)

Synopsis

  check_rtf filename 

Description

check_rtf checks an RTF format document to verify its safety following "protector's" paradigm. It checks for a consistent format (very crudely), and that the document contains no attachment. A future enhancement is planned that will extract attachments for checking.

The program displays the results of it's checks as a message that is easy for the protector "part_filter" to decode. The possible result strings are..

Message Description
replace_with cant_read_decoded An error has occurred opening or reading the document.
replace_with rtf_bad_structure The internal format of the document is inconsistent or corrupted.
replace_with rtf_contains_objects The document contains attachments which cant be extracted or checked.
allow_unchanged The file format is valid and it contains no sub-objects. In short: it's safe to deliver.


  All material on this page, and the "protector" software to which it relates is Copyright (C) 2002 by Lowth.com. "Protector" is free, open source software, licensed according to the terms of the GNU Public License