Finding encrypted PDF files

General help on the Wiki

Moderators: kcleung, Wiki Admins

Post Reply
daphnis
Copyright Reviewer
Posts: 1634
Joined: Thu May 17, 2007 7:15 pm
notabot: 42
notabot2: Human

Finding encrypted PDF files

Post by daphnis »

Is there a way on the back-end to scan and identify which PDFs and the pages to which they link that are encrypted? We really should make it a point to have only decrypted PDFs available on the site. I'd be glad to do the decrypting if we can identify en masse which ones need fixin'.
Leonard Vertighel
Groundskeeper
Posts: 553
Joined: Fri Feb 16, 2007 8:55 am

Re: Finding encrypted PDF files

Post by Leonard Vertighel »

Just a quick remark: these files aren't actually encrypted, otherwise you'd need a key even to read them. They just have a flag which tells compliant software to disable certain functions like printing. The thing to find out is how this flag is stored, and if maybe finding those files is as easy as "grepping" for a certain string. I'll try googling.....
Johann Casper Ferdinand F
regular poster
Posts: 32
Joined: Thu Jul 24, 2008 12:00 am

Re: Finding encrypted PDF files

Post by Johann Casper Ferdinand F »

I have a list. Would you like me to post it here, send it to you, or post it on the wiki?
daphnis
Copyright Reviewer
Posts: 1634
Joined: Thu May 17, 2007 7:15 pm
notabot: 42
notabot2: Human

Re: Finding encrypted PDF files

Post by daphnis »

I see. Well, if they can be found I could start the "deflagging" process and replace.
Carolus
Site Admin
Posts: 2249
Joined: Sun Dec 10, 2006 11:18 pm
notabot: 42
notabot2: Human
Contact:

Re: Finding encrypted PDF files

Post by Carolus »

If you create a small template that simply states "Locked PDF" there is a way to easily create a category page so that any page with the template will be listed. Keep in mind that encryption is fine for non-PD works which have been submitted by the composer, etc. Ideally, all public domain items should be unlocked.
Johann Casper Ferdinand F
regular poster
Posts: 32
Joined: Thu Jul 24, 2008 12:00 am

Re: Finding encrypted PDF files

Post by Johann Casper Ferdinand F »

http://imslp.org/wiki/User:Johann_Caspa ... ocked_PDFs - and I apologize for the munged UTF-8 characters.
Leonard Vertighel
Groundskeeper
Posts: 553
Joined: Fri Feb 16, 2007 8:55 am

Re: Finding encrypted PDF files

Post by Leonard Vertighel »

Tried to fix the characters - windows cp 1252 seemed to be the closest match, had to manually fix a few characters like "?" and "?" though. Some links are still red however. How did you make the list?
Johann Casper Ferdinand F
regular poster
Posts: 32
Joined: Thu Jul 24, 2008 12:00 am

Re: Finding encrypted PDF files

Post by Johann Casper Ferdinand F »

:mrgreen: :mrgreen: :mrgreen:

From the error logs of a script that calculates page counts. It is a side effect of a much larger and more important effort, the details of which I will be announcing here in a few days.
Post Reply