Website security is of utmost importance if you want to be able to offer your visitors a safe and reliable experience. It is even more important if you have an ecommerce website where people can shop online and their personal details are being passed across to a 3rd party payment gateway or you are storing them online.
Hackers are finding new ways to access the root files of a website and make the changes they wish to day by day so as a developer, you need to be on top of your game. There are some very simple things you can do such as making all your passwords unique and as secure as possible. Adding in punctuation, numbers and capital letters will all help.
The code that you write as a developer, needs to be written in a way that it cannot be tampered with and you should make sure that you are using the latest techniques and coding language.