Question2Replies31Views×Close popoverAdiya Yeole (AdiyaY34) Infosys Infosys IN View ProfileSend Message AdiyaY34 Member since 2019 5 posts Infosys Posted: June 3, 2020Last activity: June 4, 2020Posted: 3 Jun 2020 10:45 EDTLast activity: 4 Jun 2020 12:23 EDT 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: 8 months agoPosted: 4 Jun 2020 2:18 EDT×Close popoverAbhishek Karmakar (karma1) PEGA Senior Technical Solutions Engineer - India Pegasystems Inc. IN View ProfileSend Messagekarma1 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: 8 months agoPosted: 4 Jun 2020 12:23 EDT×Close popoverAdiya Yeole (AdiyaY34) Infosys Infosys IN View ProfileSend MessageAdiyaY34 Infosys replied to karma1I don't think so cause in java there are functions which help validate actual file type .