File Conversion in Upload

We are looking to add some functionality to our Upload module for our web app.
The requirement is to take the uploaded file, and then

  1. Check the mime type, if it is not in the whitelist for accepted mime types, then throw an error.
  2. If the mime type is correct, then to convert the file (Source : word, excel, PDF, JPG,PNG) to a FLATTEN PDF , with no active content and no clickable links.

Can someone in the forum can tell me If I can achieve this functionality with Aspose and how ?

Thanks

@salo

You can achieve your requirement using Aspose.Words and Aspose.Cells. Please use Aspose.Words to convert Word and image files to PDF and use Aspose.Cells to convert Excel to PDF.

Please read the following articles.
Convert Excel Workbook to PDF
Convert Microsoft Word document to PDF
Convert an Image to PDF