cancel
Showing results for 
Search instead for 
Did you mean: 

check file before uploading

Former Member
0 Kudos

Hi All ,

I have file upload option in my web dynpro application. from security point of view i want to check file for macros or html tags inside doc before uploading it on server. please suggest me tutorials.

Thanks in advance

Kavita

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I don't think there is any standard way of doing this. I can remember that I once checked for XML Tags when downloading the file to Excel. In that case it was done to avoid any special characters that were not downloading properly.

You can use this forum as reference and extend it to suit your requirement.

Thanks

Avik

Former Member
0 Kudos

Hi,

when uploading the file , you can do the virus check (https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7a411283-0c01-0010-f6a7-c8cd6a7c0169).

To check the macros and html tags, you need to write your own code to find it .

Regards,

Naga