What all does a website need to have in order to be secure?

What all does a website need to have in order for it to be secure from hackers? Here are some things that I have thought of: Sanitizing user form inputs Using SSL connections Implementing security questions for password resets Requring users to use strong passwords Hashing and salting passwords Am I... show more What all does a website need to have in order for it to be secure from hackers?

Here are some things that I have thought of:

Sanitizing user form inputs
Using SSL connections
Implementing security questions for password resets
Requring users to use strong passwords
Hashing and salting passwords


Am I missing anything else that you can think of?
Update: I just thought of another one: using session tokens to prevent cross-site request forgery.
1 answer 1