Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: Checking PDFs for password protection
Topic Summary: Inconsistent results
Created On: 06/01/2018 02:13 PM
Status: Read Only
Linear : Threading : Single : Branch
 Checking PDFs for password protection   - JamesLankford - 06/01/2018 02:13 PM  
 Checking PDFs for password protection   - Alex Escalante - 06/06/2018 02:05 PM  
 Checking PDFs for password protection   - JamesLankford - 06/06/2018 02:08 PM  
 Checking PDFs for password protection   - Ricardo Castaneda - 06/06/2018 03:11 PM  
 Checking PDFs for password protection   - JamesLankford - 06/08/2018 12:26 PM  
 Checking PDFs for password protection   - JamesLankford - 06/08/2018 12:45 PM  
 Checking PDFs for password protection   - Alex Escalante - 06/13/2018 01:05 PM  
 Checking PDFs for password protection   - JamesLankford - 06/13/2018 01:17 PM  
 Checking PDFs for password protection   - Alex Escalante - 06/19/2018 10:12 AM  
 Checking PDFs for password protection   - JamesLankford - 06/19/2018 10:20 AM  
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 06/01/2018 02:13 PM
User is offline View Users Profile Print this message

Author Icon
JamesLankford
Artisan (200-499)

Posts: 369
Joined: 11/26/2012

We recently had a project where we converted several thousand PDF documents to another format. During the process, I encountered many with password protection. Unfortunately this stopped the entire batch job until the prompt was acknowledge, which significantly slowed the process.

To help alleviate this, I wrote a quick AM task to check for the existence of a password on the batch of PDFs and to log them to a file.

The good news is that the task correctly identified every PDF that had a password on it. The bad news is that is also flagged many PDFs as having a password, but not actually having one. The results were inconsistent, but every PDF actually having a password was always correctly flagged, I just had to sift out the false positives.

Any thoughts as to why this might be? We finally made it through the conversion, but I suspect we may need to do this again at some point in the future and I'd like to see if this process can be improved.

Thanks,
James

-------------------------
<html />
Statistics
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 5551 on 01/08/2018 at 11:11 AM.
There are currently 534 guests browsing this forum, which makes a total of 534 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2019 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog