java - How to restrict a file if file extension is changed and try to upload using Plupload -


i using puploader upload file in java project. restricting of filetypes .exe uploading. when extension changed gets uploaded. example, when user changed extension of test.exe file test.txt , tried upload, uploaded in project. cause serious issue in project file downloadable other users. need restrict files checking previous extensions or if possible checking file content. there way that?


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -