Secure Upload Widget
Application Type
Traditional Web, Reactive

How to Secure Upload widget from being upload malicious dangerous files,including malware, illegal softwares?

Hi,

My suggestion is to limit the file types that will be uploaded.

During you upload submit action, you can validate the file type of the file. 

You can use this reference for MIME Types - The Complete List.

One of the files that needs to blocked are the .exe file which usually treated as malicious files. 

Also, you could add a validation for the file size (usually, maximum of 5mb file will do) 


Hope this helps!

Regards,

Marco

mvp_badge
MVP

Hi Nikita,

In addition to the previous suggestion you might have a look at the following Forge component:

https://www.outsystems.com/forge/component-overview/4738/virustotal-api 

Regards,

Daniel



Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.