Launch offer
Business website $150 USD Custom plugin $200 USD Ready in 5 days
Get a quote
ASP.NET

MVC Security

Use anti-forgery tokens, encode output, and authorize actions.

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

Leave a reply

Your email address will not be published. Required fields are marked *