MVC Security — a practical guide to ASP.NET MVC security with clear examples you can reuse in real projects.
ASP & ASP.NET Tutorial Series (120/247). Prefer one article? Read the complete ASP.NET tutorial.
Short description
Keep secrets out of source control.
Security checklist
ValidateAntiForgeryToken
Encode Razor output
Parameterized data access
[Authorize]
HTTPS