dotnet-cqrs/docs/best-practices/security.md

26 lines
450 B
Markdown

# Security
Secure your CQRS application.
## Best Practices
### ✅ DO
- Validate all inputs
- Use authorization services
- Implement rate limiting
- Encrypt sensitive data
- Use HTTPS in production
### ❌ DON'T
- Don't trust user input
- Don't skip authentication
- Don't expose internal errors
- Don't hardcode secrets
## See Also
- [Best Practices Overview](README.md)
- [Authorization](../core-features/commands/command-authorization.md)