How can you restrict file attachments by extension type for an entire application? (such as .exe)
To meet a security requirement, we are trying to restrict file attachments uploaded in our application to not allow files of certain extension types. I have found several places in PRPC's base application that could be changed to enforce this, but they are all rules with the pz- prefix, and therefore can't be saved into our application. Examples are pzFileUploadGadget and pzDragDopMultiFileUpload.
Is there a better way to handle this security requirement?