Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Validation for file extension before uploading file jdev 12.1.2.4

Neha NarkhedeOct 17 2023

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.

This post has been answered by Timo Hahn on Nov 22 2023
Jump to Answer
Comments
Post Details
Added on Oct 17 2023
11 comments
741 views