Next-Gen Security for .NET:
5 days of Training and Migration
Why this course
Welcome to the "Application Security Training" course! This five-day program is designed to provide you with a comprehensive understanding of application security, including the necessary prerequisites for effective learning and a section on migrating from .NET 4.5 to modern .NET. By the end of this course, you will be equipped with the knowledge and skills to secure applications effectively using the latest .NET technologies.
Learning outcomes
By the end of this course, you will be able to:
- Understand the fundamentals of C# and .NET.
- Implement authentication and authorization in .NET applications.
- Manage sessions and access control to prevent security vulnerabilities.
- Securely handle input and output data to prevent common attacks.
- Protect sensitive data using encryption and secure data management practices.
- Implement secure error handling and logging.
- Manage vulnerable dependencies and protect business logic.
- Handle untrusted files securely.
- Harden application configuration.
- Understand ISO27001 requirements and API security.
- Migrate from .NET 4.5 to modern .NET versions.
Prerequisites
Before attending this course, you should have:
- Basic understanding of programming concepts.
- Familiarity with basic web development.
- A laptop with internet connectivity and the ability to install software.
14 modules
01C# Recap:3 topics
- Overview of C# syntax and features.
- Object-oriented programming principles in C#.
- Key libraries and frameworks in the .NET ecosystem.
02Migrating from .NET 4.5 to Modern .NET:3 topics
- Challenges of using obsolete versions.
- Step-by-step migration process.
- Key features and improvements in modern .NET versions (e.g., .NET Core, .NET 5/6/7).
03Dotnet Authentication and Authorization:4 topics
- Implementing authentication through the login page.
- Overview of .NET Core identity.
- Role-based authorization.
- Authentication and authorization in .NET Core Razor pages.
04Session Management:3 topics
- Importance of session management.
- Techniques for managing sessions in .NET applications.
- Best practices for secure session management.
05Access Control:3 topics
- Fundamentals of access control.
- Preventing Cross-site Request Forgery (CSRF) attacks.
- Implementing access control mechanisms in .NET.
06Securely Handling Input and Output Data:5 topics
- Input validation techniques.
- Encoding output data to prevent XSS attacks.
- Preventing SQL injection attacks with Entity Framework Core and ADO.NET.
- Preventing operating system command injection.
- Demo: Invoking encoders in code.
07Protecting Sensitive Data:10 topics
- Encrypting and decrypting sensitive data.
- Secrets management in .NET applications.
- Protecting data in the browser.
- Sending sensitive data in HTTP request bodies.
- Preventing data from being cached in the browser.
- Data privacy best practices.
- Implementing export and deletion of personal data.
- Protecting data in transit.
- Demo: Enforce use of HTTPS protocol.
- Secure TLS configuration for outbound network connections.
08Secure Error Handling and Logging:4 topics
- ASP.NET Core logging and exception handling.
- Redacting sensitive information before logging.
- Logging relevant security events.
- Preventing the leaking of sensitive information through error pages.
09Managing Vulnerable Dependencies:3 topics
- Understanding risks from dependencies.
- Managing NuGet packages securely.
- Tools and techniques for managing vulnerable dependencies.
10Protecting the Business Logic:2 topics
- Identifying business logic flaws.
- Techniques for protecting business logic integrity.
11Handling Untrusted Files:5 topics
- Securely handling files in ASP.NET.
- Preventing large file uploads.
- Scanning uploaded files for viruses and malware.
- Securely storing uploaded files.
- Preventing server-side request forgery (SSRF) attacks.
12Hardening Configuration:4 topics
- Disabling debugging facilities.
- Hiding system component information.
- Validating HTTP request headers.
- Setting HTTP security headers in responses.
13ISO27001 Requirements:3 topics
- Overview of ISO27001 requirements.
- Implementing ISO27001 in .NET applications.
- Best practices for compliance.
14API Security:3 topics
- Securing APIs with SSL.
- Using service credentials to authenticate to the API.
- Using the HTTP Basic Authorization method.
This training course is designed to be hands-on and interactive, ensuring that you not only learn theoretical concepts but also apply them in practical scenarios. By the end of these five days, you will be proficient in securing applications using the latest .NET technologies and best practices.
A programme built around your team.
Share your training goals and requirements.