Re: Checking whether a file is a genuine PDF file
Re: Checking whether a file is a genuine PDF file
- Subject: Re: Checking whether a file is a genuine PDF file
- From: John Joyce <email@hidden>
- Date: Mon, 5 Oct 2009 20:59:57 -0500
Google magic number
This is unix and there is a ver nifty tool for such things.
Ultimately u just have to ask yourself how you will handle files that
seem wrong.
You could also ask yourself how you would handle an unreasonably large
PDF file...
Then u can ask yourself if it is really necessary...
It is entirely easy to create a PDF with nothing in it or with
egregious amounts of stuff in it that no app could read well yet is a
valid PDF
Weigh carefully how far down the rabbit hole you need to go.
"if it needs to be military-secure, why is PDF being used at all?"
That sort of thing
Sent from my iPhone
On 2009/10/05, at 20:38, email@hidden wrote:
Re: Checking whether a file is a genuine PDF file
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden