[ad_1]
How can I upload a PDF ? For example, I have a table with links to it. I want to be able to link a PDF.
I know that file type is not allowed, but using an extension, I was able to allow pdf files. But what are the recprecussions ? What if someone uploads an executable script embedded in the PDF ?
How do I sanitize that ?