I recently started creating a website and found information about xss attacks and mysql injections.
- What are xss attacks and mysql injections, how can you defend against them (if you can describe it well or give a link where it is well written)
- Are there any other threats besides those listed above?
- Is it necessary to encrypt passwords in the database (if you protect your site, then I do not think that this is necessary)