We are using jdev12.2.1.4 and we have a need to validate file extension ( so as not to upload exe file types etc) when we use af:inputfile. Is there any global solution that we can implement so it works for the entire app?
If not, is there any place we can configure to say allowed extensions?
we are trying to solve the problem where if one uploads calc.exe and then downloads it, calculator opens up. We do not want that to happen.