What I'm trying to learn is to remove multiple upload (and drag&drop). I want a user (vendor) should be able to upload only one file when clicks on upload button. Instead of completely removing drag&drop feature I would like to limit it depending on user role. There were several codes for it but they were all about limiting upload size and total upload count of a user. For example right now a vendor is able to drag&drop 100 files and it would be really bad.