Uploading PDF or .doc and security

Posted by Kamo on Stack Overflow See other posts from Stack Overflow or by Kamo
Published on 2010-05-28T04:25:42Z Indexed on 2010/05/28 4:31 UTC
Read the original article Hit count: 329

Filed under:
|
|
|
|

I have a script that lets the user upload text files (PDF or doc) to the server, then the plan is to convert them to raw text. But until the file is converted, it's in its raw format, which makes me worried about viruses and all kinds of nasty things.

Any ideas what I need to do to minimize the risk of these unknown files. How to check if it's clean, or if it's even the format it claims to be and that it does not crash the server.

© Stack Overflow or respective owner

Related posts about php

Related posts about security