Finding encrypted PDF files
Moderators: kcleung, Wiki Admins
Finding encrypted PDF files
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'.
-
- Groundskeeper
- Posts: 553
- Joined: Fri Feb 16, 2007 8:55 am
Re: Finding encrypted PDF files
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.....
-
- regular poster
- Posts: 32
- Joined: Thu Jul 24, 2008 12:00 am
Re: Finding encrypted PDF files
I have a list. Would you like me to post it here, send it to you, or post it on the wiki?
Re: Finding encrypted PDF files
I see. Well, if they can be found I could start the "deflagging" process and replace.
-
- Site Admin
- Posts: 2249
- Joined: Sun Dec 10, 2006 11:18 pm
- notabot: 42
- notabot2: Human
- Contact:
Re: Finding encrypted PDF files
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.
-
- regular poster
- Posts: 32
- Joined: Thu Jul 24, 2008 12:00 am
Re: Finding encrypted PDF files
http://imslp.org/wiki/User:Johann_Caspa ... ocked_PDFs - and I apologize for the munged UTF-8 characters.
-
- Groundskeeper
- Posts: 553
- Joined: Fri Feb 16, 2007 8:55 am
Re: Finding encrypted PDF files
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?
-
- regular poster
- Posts: 32
- Joined: Thu Jul 24, 2008 12:00 am
Re: Finding encrypted PDF files
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.