Quote:
Originally Posted by daesdaemar
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.