Question2Replies28Views AdiyaY34 Member since 2019 5 posts Infosys Posted: June 3, 2020Last activity: June 4, 2020 Prevent adding of .docx files which are renamed to .pdfGuys say I have a word file say abc.docx I rename it to abc.pdf . But when I try to open this file abc.pdf I will get error . Currently my pega is allowing me to attach files like abc.pdf how to restrict this. ***Edited by Moderator Kayla to update Platform Capability tags**** Pega Platform Case Management ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Posted: 5 months agokarma1 PEGA replied to AdiyaY34Hi Adiya,This is a universal behavior not specific to Pega only, When you upload the file the system would validate the file type using the file extension, it will not be able to understand if the file is actually a doc or pdf file. Posted: 5 months agoAdiyaY34 Infosys replied to karma1I don't think so cause in java there are functions which help validate actual file type .