Practicing Safe Text - PDF Content Security Myths and Misdemeanors

With another release of information from Wikileaks, we’re reminded of the importance of information security policy and practice.  This 2-part posting discusses PDF content security strengths and weaknesses and the importance of vigilance, and will guide you in developing a comprehensive PDF content security policy. 

I’m pleased that Dean Sappey, President of Docs Corp – is the contributing editor for Part I and II of this blog posting on PDF content security.

PART I – What is PDF Content Security

PDF content is generally considered to be a more secure way to publish and share documents because the PDF standard allows several levels of security and several ways to apply security.  However, as hard as we try to make content secure, there is no format which is truly secure against any and all risks and this includes PDF documents. 

PASSWORDS
There are two types of passwords for PDF documents.  The first is called a “Master” password which controls access to security settings for editing, copying, and printing (as examples).  A second password is an “Open” password which is created by the PDF owner and must be supplied by a PDF user to open a PDF file.

Perhaps since the first password was created people have endevored to unlock them.  Quite simply, there are tools available which can crack passwords.  This is not a revolutionary notion but should be taken into account when securing PDF content.  As long as parties need or want to circumvent security measures – there will be parties providing software or services to facilitate that circumnavigation.  Since PDF security relies heavily on password protections it is not uncommon to hear of software designed for PDF password cracking or unlocking. 

SECURITY – Tier 1
PDFs created by solutions like pdfDocs Desktop (Docs Corp) and Adobe provide the ability to add security to a PDF document which affects the “functionality” of the PDF document.  This security relies on a “Master” document password and allows the creator of the document to:

  • prevent the PDF from being edited,  
  • prevent information from being copied from the PDF to the clipboard,
  • prevent commenting, 
  • prevent combining of PDF documents with others,
  • prevent printing, 
SECURITY – Tier 2
Additional security can be added with digital certificates and an open password .
A digital certificate can provide assurances about (a) who created the PDF document and (b) whether the document has been changed or tampered with in any way.  A digital certificate” creates a numeric value when applied.  The numeric value takes into account all of the bits and settings within the PDF file.  The digital certificate will become invalid if the numeric value changes at any time after it is applied.  It’s the equivalent of a wax seal on a PDF.
Another important security measure is the “Open” password which prevents a reader from even opening a PDF for viewing without a password.  This type of password tends to be much harder to ‘crack’ and – importantly – prevents viewing and reading (or screenshots etc..) without knowing the password.

ADDING SECURITY – Tier 3
Another level of security is found with 3rd party encryption options including PGP Security but these options are beyond the scope of this posting.

SUBTRACTING SECURITY – Where there is a Will there is a Way
While it is important as the creator of a PDF that you can rely on the fact that your PDF cannot be easily edited by the person receiving your document, it is also important to understand that in reality there is no way to completely ensure your document is never tampered with or recreated.  

Many tech-savvy computer users have discovered a range of software products which allow you to remove the security applied to a protected PDF.  These software products allow you to view and edit a PDF even if the PDF is secured because they can unlock the Master password.

Whilst these software products may break copyright and terms of use rules for PDF content, in my own personal view, they avoid being classified as illegal and prevented from selling their software primarily because their End User License Agreements stipulate that use is limited to unlocking documents that you own.  In other words, they stipulate that you should only unlock documents that you created and possibly just forgot the password of - and not use it to unlock any documents that you do not legally own.

So be aware even when you create a PDF and secure it, the document can still be unlocked and modified by anyone willing to buy a commercial software application.  

Speaking personally as President of Docscorp, it is my view that software should not allow this and for this reason pdfDocs does not allow you to unlock a secured PDF (as is the case with Adobe Professional).  Of course, even if there were no commercial software available to unlock PDFs, there would always be the hacker willing to provide products for this purpose. .

SUBTRACTING SECURITY - OCR Conversion and Print Attribute
In reality, as long as a PDF can be viewed without a password, security is very hard to enforce because the properties of the PDF can be modified using commonly available programming languages.

Even without resorting to programming, if you can print the PDF to paper – you can scan it and use OCR software to convert the scanned file to PDF or MS Word.  Software products like pdfDocs allow the user to take any scanned document and convert it quickly and easily to a full text-searchable PDF or to an editing format like MS Word - in a format that is almost identical to the original document. 

This means that even when a PDF is secured from editing, if the PDF can be printed then an almost exact replica of that document can be created using scanners and OCR software.  This further emphasizes the limited ability of security on PDFs to prevent changes. 

 In the next blog posting, we’ll discuss some steps you can take to enforce the security of your PDF content.

___________________________________________________________________
Dean Sappey is President and co-founder of Docscorp.   Dean has a degree in computer science and has been developing technology used by law firms and accounting firms for the past 20 years.   He currently manages the growth of Docscorp internationally whilst continuing to be involved in concept and workflow designs for new Docscorp software products.  Docscorp has for the past 8 years developed and sold worldwide the pdfDocs Solutions suite, to provide the creation, editing, and manipulation of PDF documents integrated into workflows common to Document Management Professionals.  

Sizing it Up - the mathematics behind scanned image file size

One of the questions I often get is "why are my PDF files so large?!".   This question typically refers to scanned-PDF files and we all know, usually from direct experience, that scanned color PDF files are larger than black and white, and high resolution files are larger than low resolution files. 


Here is the mathematics behind file size.  Understanding the math and the variables will give you a way to understand controlling file size. 

I - By the Numbers

A) 3 Dimensional Paper
When paper is digitized, it becomes 3 dimensional.  The three dimensions are height, width, and bit-depth.  

B) Bit Depth
Bit-depth refers to the number of bits needed to represent each dot on the page.  Black-and-White dots are 1 bit in size (on for black, off for white) while grayscale is 8 bits in size and colors are 24 bits in size. 

C) Dots Per Inch
Dots per inch is controlled at the scanner and with software with 300 DPI being a common setting.

D) Bits make Bytes
As you know, 8 bits make up a single Byte of information (just reciting this for clarity).

E) Compression
To display an image, the raw data must be converted to a format which can be displayed in a PDF.  Typical formats are TIFF or JPG.  TIFF was developed for fax transmission, where size matters especially back when faxing was invented and data moved over plain-old-telephone-signal wire. TIFF-Group-IV will compress an image at about 20:1 so its been a natural choice as an image format.

II - How it Adds Up
See how things start to add up quickly and sometimes exponentially.  Going from gray-scale to black-and-white will reduce your image size by a factor of 8.  Going from 300 DPI to 200 DPI will shrink your image size by 1/3 - and will be just as readable.

Lets look at an example of a page scanned at 200 DPI.  The formula works like this:
A) Image Size
  • example 8.5 x 11 = 93.5 square inches)
B) x DPI
  • example 200 x 200 = 40000 dots per inch x 93.5 sq inches = 3,740,000 dots per page
C) x Bit Depth
  • example Black-and-White = 3,740,000 total bits at 200 DPI
  • example Gray-Scale = 29,920,000 total bits at 200 DPI
D) divided by 8 to convert to Bytes
  • example 200 DPI Black and White = 467,500 raw bytes
  • example 200 DPI Grayscale = 3,740,000 raw bytes
E) compressed for TIFF Group IV at 20:1
  • example 200 DPI Black and White = 23,375 bytes or 23K page size
  • example 200 DPI Grayscale = 187,000 bytes or 187k page size
In the typical example of 300 DPI Black and White image, the math is:
  • 300 x 300 =  90000 dots per inch x 93.5 sq inches = 8,415,000 dots per page
  • 8,415,000 dots (bits) divided by 8 = 1,051,875 bytes
  • TIFF Group IV compression of 20:1 yields a byte size of 52,593 or 52K
This should give you a clear picture of the factors affecting image size, and the impact of the variables you may decide to 'tweak' when attempting to manage image size.  We are typically evaluating file size when dealing with electronic filings. 

Other factors to consider when evaluating image file size is:
  • how the images will be used since you may affect readability.  There is a vast difference between viewing a page of type-written text, vs interpreting margin notes during a document review.
  • what they will be viewed on .  There is a vast difference between reading a scanned image on a laptop vs a large-screen-high-resolution monitor.
A key question to evaluating a scanning project is .. how much paper do you have?    Here is a resource to help you figure that out... 

Happy Scanning!

Questions? Comments?  Need Advice?  Get in touch at Bill Lipner email


Free or Full Featured - Rightsizing Your PDF Content Solution

Whether its free of full featured, how do you decide what PDF Content solution will best meet the needs of your firm?  This is a bottom-line issue (meaning money) since you don’t want to spend too much on features your firm doesn’t need – or spend too much filling “gaps” if you don’t have certain features you need in your core solution. Perhaps this framework will help.

A – Litigation Support vs. Office Automation

 Start by dividing your assessment into two general areas – PDF content for litigation support and PDF content for everyone else – the office automation “universe”. The Litigation Support folks tend to need automation tools since their documents come in big batches of a similar type – on the office automation side of things, users work on relatively small batches of documents so a feature like document management integration may be vital to them.

B – Work and Flow

When thinking about PDF content in the office automation context, do you know have a good understanding of what users do with PDF content? A survey of help desk personnel and users (indeed power users but also average users) is a key step in understanding requirements for PDF content creation, editing, and management in your firm.

Examples – from a long list - of things to know:

CREATE:
- why is paper scanned? (printing out MS Word to sign it for example..)
- how is paper scanned and captured,
- who emails PDF attachments,
 EDIT
- do they need to apply security to those attachments,
- do users need to combine files? If so – how is it done?
- do users need to split files?
- are users retyping PDF files for editing? (they need an OCR solution)..
- do users need to redact?
- do users need to Bates?
- do users create closing binders / deal binders / transaction binders ?
MANAGE
- are PDF files saved into your document repository? If so – how?
- are PDF files saved to My-Documents? If so – why?
- what is a typical workflow when the result is emailing as an attachment,

Certain requirements will probably vary from one practice area to another – but you will find a wide range of functions that almost everyone in your firm needs to use.

C - Legal Desktop Integration

 This is a fairly big topic by itself so there’s the condensed version: Where do users spend 85% of their time? In Word and Outlook. What is your system of record? It’s your document repository or records management system. Its vital that your PDF content solution integrate well in these applications so users save time whenever they are creating – emailing – or saving PDF content.

In my next post I'll drill into the areas of Convert to PDF, filling out forms, creating PDF binders, and advanced editing tools and what to look for.   Meanwhile - be sure to inquire if you need assistance with creating or executing a survey of your PDF content requirements.