As a full stack web developer, is it important to know how to write secure code? I found a few books that cover common vulnerabilities and how to exploit them, but i can't seem to find any books that actually teach counter measures how to write secure websites/webapps
Or is writing secure websites not that important as a freelance web developer?