How to Avoid Malicious Files in Asp.net, c# Web Applications Before uploading a pdf file first scan the embedded PDF file or Javascript file after that upload