How do you ensure the security of a web application during development?

Technical