MDN has a particular list of Malicious File Types.
Creating a checker function, which gets the extension of the file and checks, whether it is a malicious or nonmalicious file.
If malicious, the user will be popped up on an alert screen, asking, whether he is sure, to download it or not.
MDN has a particular list of Malicious File Types. Creating a checker function, which gets the extension of the file and checks, whether it is a malicious or nonmalicious file. If malicious, the user will be popped up on an alert screen, asking, whether he is sure, to download it or not.