Question 2 Replies 483 Views × Close popover Kalyani Kallem (KalyaniK9826) Commonwealth Bank Commonwealth Bank AU View Profile Send Message KalyaniK9826 Member since 2017 3 posts Commonwealth Bank Posted: March 9, 2020 Last activity: March 10, 2020 Posted: 9 Mar 2020 23:26 EDT Last activity: 10 Mar 2020 0:12 EDT Closed How to check the MIME Type of a file before upload We have implemented the file type(extension) checking based on file name (sample.txt) and restricting the user to upload certain types of files. There is a possibility of changing the extension of different file type and upload to the application. Ex: User has an executable file webex.exe and this can be changed to webex.png by renaming it and can be uploaded. How to check the file type(or mime type) based on the content (not just the filename)? Pega Platform 7.3 Case Management Mobile Financial Services Senior System Architect × Close popover Facebook Twitter Linkedin Email Copy Link Copied! Moderation Team has archived post, learn more × Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Posted: 1 year ago Posted: 9 Mar 2020 23:58 EDT × Close popover Eswar Kumar Paravada (parav1) PEGA Technical Solutions Engineer Pegasystems Inc. IN View Profile Send Message parav1 PEGA replied to KalyaniK9826 Hi, Can you please check the below link , if this is helpful : https://collaborate.pega.com/question/how-correctly-test-mimetype-file-attach Thanks, Posted: 1 year ago Posted: 10 Mar 2020 0:12 EDT × Close popover Kalyani Kallem (KalyaniK9826) Commonwealth Bank Commonwealth Bank AU View Profile Send Message KalyaniK9826 Commonwealth Bank replied to parav1 Thanks parav1. This link has the similar question but not the solution.