Skip to Main Content

APEX

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!

Exploring Options in APEX to Malware Scan of uploaded Files in APEX UI

Tanmay_ThagMar 10 2025

Customer Wanted to explore any build in library or functionality available in APEX or VBCS to do the validation process varies for different types of file extensions.

File Validator Service validates:
Word (.docx)
Excel (.xsl, .xslx)
Pdf (.pdf)

Also, the application should not allow corrupted files.

For eg:-
Word File

  1. DOCX /DOC cannot have macros.
  2. DOCX /DOC cannot have embedded files.

Excel file

  1. XLS/XLSX cannot have macros.
  2. XLS/XLSX cannot have embedded files.

PDF file

  1. PDF cannot have JS actions/scripts.
  2. PDF cannot have any embedded files.
  3. PDF cannot have any internal or external links

Image file

  1. Images cannot be corrupt attachments files.
  2. Images cannot have a different format other than JPG, JPEG, or PNG.

Outlook Message File

  1. MS Outlook cannot have any corrupt attachments files.
  2. MS Outlook cannot have more than three levels of attachments.

Please help to implement this requirement in APEX.

Comments
Post Details
Added on Mar 10 2025
0 comments
98 views