I am creating a secure document portal for a client. One of the things that they are worried about is having someone upload a document with a virus. One solution that might work is to enforce that they only upload pdf files.
My question is two fold:
- Most importantly, is a pdf document virus proof?
- How can you determine in a *nix environment that a file is a pdf, besides just looking at the extension.
Thanks!
Jonathan