Sitecore 9.0 Server side validation for Form upload file field

I am working with Sitecore 9.0 update 2. I had created one form using Sitecore Forms, there is a field for file upload. In file upload the validations are causing security issue and client want to have server-side validations a) File extensions b) Content-Types c) Magic Numbers d) File Size for this to check Malicious File Upload

  • Out Of the Box in Sitecore 9.0 update 2 there is no upload field for Sitecore Forms? Are you Using the old WFFM (Web Forms For Marketeers) module?

    For Sitecore Forms.
    1) In Sitecore 9.3 there is a File upload for Sitecore Forms, with size and type check.
    2) For Sitecore 9 and Forms you can add this functionality, with Sitecore-Forms-Extensions code here github.com/.../Sitecore-Forms-Extensions
    3) For Sitecore 9 and Forms you can use this Sitecore Forms Serverless Upload, with AJAX, no need to change the Form JavaScript files, www.stockpick.nl/.../ and very save you do not upload to your Sitecore box, the validations you can make easily yourself