View Single Post
Old 12-11-2011, 11:49 AM   #11
Jim Lester
Evangelist
Jim Lester is less competitive than you.Jim Lester is less competitive than you.Jim Lester is less competitive than you.Jim Lester is less competitive than you.Jim Lester is less competitive than you.Jim Lester is less competitive than you.Jim Lester is less competitive than you.Jim Lester is less competitive than you.Jim Lester is less competitive than you.Jim Lester is less competitive than you.Jim Lester is less competitive than you.
 
Jim Lester's Avatar
 
Posts: 416
Karma: 14682
Join Date: May 2008
Location: SF Bay Area
Device: Nook HD, Nook for Windows 8
Quote:
Originally Posted by daesdaemar View Post
I would love to know this... Knowledge is power...
A little late in the reply, but I lost the thread until it got bumped

Open the file in a text editor.
Search for "/Encrypt"
- If you don't find it then your PDF is not encrypted

If you find it then you are most likely in the "Trailer" dictionary which is at the end of the file. There should be entries that look like:
/Root 74 0 R /Encrypt 96 0 R /Info 1 0 R

These specify which objects are the import one in the file.

To find a object search replace the R with an 'obj' and search (most likely backwards) in the file. So if I was searching for the Encryption Dictionary in the above example, I would search for "96 0 obj"

Which would get you something like
96 0 obj
<< /Filter /Standard /V 2 /R 3 ....
>>

The interesting bit is the value for /Filter - in this case it is /Standard meaning the file uses the 'Standard' security handler which is Password Protection.

Last edited by Jim Lester; 12-11-2011 at 04:36 PM.
Jim Lester is offline   Reply With Quote