It is very important to secure your website from hack. There are numbers of attacks done to any Website within a day. The attacker uses their tools or do manually attack like XSS (Cross-site scripting), SQL injection, DOS (denial of service) etc. We should take care from starting when we build the website. If any file uploading feature present on…