Website security is to prevent cybercriminals to do any action or to prevent exploitation of websites in any way.First, we need to know what should be protected from:1. DDoS attacks:…