Posted: 5 Jun 2018 9:09 EDT Last activity: 15 Jun 2018 14:46 EDT
How can I prevent the user from change the extension name of attachments
In my application the user can attach files ex (gif , png , pdf) to work object.
I'm using CallVirusCheck , it's working fine, but the issue is when the user trying to change the extension name of the file (for example the name of file is "https" and the type of the file is "docx" when the user change the extension name to "pdf " ) <<please see attach "change" and "after change"
the validation it's not working and the system accepts not allowed types of attachments <<please see attach "after attach".how can i solve this issue ?
I use CallVirusCheck activity and call data transform inside it with name "CallVirusCheck" <<please see a copy of the attachment "CallVirusCheck"
the issue is that when the user is trying to attach a file with type docx and name (File.jpg.docx) is allowed. and in my requirement shouldn't be allowed this kind of file to attache. could you please give me advice to solve this issue.