security
ASP.NET Core and .NET Security Articles, Tutorials & News
ASP.NET Core and .NET Security articles, tutorials, and news from the DotNetNews archive.
483 articles Updated Page 12 of 20
Browse additional ASP.NET Core and .NET Security articles from the DotNetNews archive.
ASP.NET Core and .NET Security articles
Page 12 of 20
Newest first
-
ASP.NET Web.Config: Redirects, Security, and URL Rewriting Explained
c-sharpcorner.com Issue #299
Master ASP.NET Web.config: redirects, security, URL rewriting, custom errors, and connection strings. Optimize your web app's configuration & security!
-
Token Validation and Generation in ASP.NET – Step-by-Step Guide
c-sharpcorner.com Issue #298
Secure your ASP.NET apps! Learn to generate & validate tokens for NSE IPO APIs. Step-by-step C# guide with code examples & best practices.
-
Azure IIS Setup: Installing a Free Let’s Encrypt SSL Certificate
c-sharpcorner.com Issue #297
Secure your Azure-hosted IIS web applications with a free Let's Encrypt SSL certificate! This step-by-step guide walks you through the entire process, from prerequisites to verification, ensuring encr...
-
Best Ways to Handle Null Reference Exceptions in C#
c-sharpcorner.com Issue #296
This article provides practical strategies to prevent and handle NREs effectively. Learn to use null checks, the null-conditional and coalescing operators, proper object initialization, and C# 8's nul...
-
Passkeys in ASP.NET Core
c-sharpcorner.com Issue #296
Unlock passwordless authentication in your ASP.NET Core applications with this comprehensive guide! Learn how to implement passkeys using the latest .NET features and the WebAuthn API. Enhance securit...
-
Azure Config, Blazor and EF Core patterns
DotNetNews Issue #294
A varied .NET roundup covering Azure App Configuration, Blazor WASM in .NET 10, RBAC APIs, MAUI, C# internals, and data patterns.
-
How to Secure Your C# Applications: Best Practices & Code Examples
blog.stackademic.com Issue #292
Why Security Should Be Your Top Priority Continue reading on Stackademic »
-
Penetration Testing Basics for ASP.NET Core Web Applications
c-sharpcorner.com Issue #291
Secure your ASP.NET Core web applications with this practical guide to penetration testing. Learn essential techniques, from reconnaissance to reporting, with C# examples. Discover how to identify vul...
-
Protecting Background Jobs and Scheduled Tasks from Abuse in ASP.NET Core
c-sharpcorner.com Issue #291
This article explores common threats like job injection, privilege escalation, and resource abuse. Learn practical strategies for robust protection, including secure scheduling interfaces, input valid...
-
Logging and Monitoring Security Events in ASP.NET Core
c-sharpcorner.com Issue #291
Enhance your ASP.NET Core application security by implementing robust logging and monitoring practices. This guide covers structured logging with Serilog, NLog, and built-in providers. Learn to detect...
-
How to Perform Security Testing on ASP.NET Core Applications
c-sharpcorner.com Issue #290
Comprehensive guide to ASP.NET Core security testing, covering static analysis, dependency scanning, secure configuration, and dynamic testing. Learn to implement security headers, validate inputs, ha...
-
How a Tiny Token in .NET Stopped a Million-Dollar Mistake
medium.com Issue #288
Discover the overlooked role of __RequestVerificationToken, why it’s critical for web security, and the lessons I learned the hard way as…
-
.NET Mastery: 40+ Essential Practices for Clean, Secure, and Scalable Code
shahedbd.medium.com Issue #287
1. Use Dependency Injection (DI) Properly
-
Security Headers Every ASP.NET Core App Should Have
c-sharpcorner.com Issue #287
This article provides a comprehensive guide to protecting against XSS, clickjacking, and other common web vulnerabilities. Learn how to implement HSTS, CSP, X-Frame-Options, and more with practical co...
-
AspGoat: The First Intentionally Vulnerable modern ASP.NET Core App for OWASP Top 10
infosecwriteups.com Issue #286
Most intentionally vulnerable applications we know and use for training like DVWA, Juice Shop, and WebGoat are written in PHP , Node.JS… Continue reading on InfoSec Write-ups »
-
How to Secure a Website?
c-sharpcorner.com Issue #285
Protect your website from cyber threats with our comprehensive guide to website security. Learn essential practices, from SSL/TLS encryption and WAF implementation to secure coding, access control, an...
-
Clickjacking Protection with X-Frame-Options and CSP in ASP.NET Core
c-sharpcorner.com Issue #285
Protect your ASP.NET Core applications from clickjacking attacks! This guide explains how to implement robust defenses using X-Frame-Options and Content Security Policy (CSP) with frame-ancestors. Lea...
-
Add API key authentication to an Minimal API endpoint
roundthecode.com Issue #284
Learn how to add API key authentication to a minimal API endpoint by using a saved key in the config and how you can add a fallback policy to protect all routes. The page Add API key authentication to...
-
Authentication in .NET — Part 7: External Authentication Providers
dilankam.medium.com Issue #284
In Part 6, we explored role-based and policy-based authorization. Now, in Part 7, let’s look at how to integrate external authentication…
-
Preventing CORS Misconfigurations in ASP.NET Core APIs
c-sharpcorner.com Issue #284
Secure your ASP.NET Core APIs! This article dives into preventing CORS misconfigurations, a critical aspect of web application security. Learn how overly permissive CORS settings can lead to vulnerabi...
-
Cross-Site Request Forgery (CSRF) Protection in ASP.NET Core
c-sharpcorner.com Issue #284
This article details built-in mechanisms like anti-forgery tokens, SameSite cookies, and global validation to safeguard authenticated users. Learn how to implement CSRF protection in Razor Pages, MVC,...
-
File and Input Security in ASP.NET Core MVC and Web API Applications Introduction
c-sharpcorner.com Issue #283
Protect your ASP.NET Core MVC and Web API applications from critical vulnerabilities! This article provides essential best practices for securing file uploads and user inputs. Learn how to prevent SQL...
-
SaaS User Roles and Permissions | Role-Based Access Control (RBAC)
bizsoltech.medium.com Issue #283
Lack of a Ready Role-Based Access Control System in SaaS: Why RBAC Matters
-
Secure Coding Guidelines for ASP.NET Core MVC & Web API
c-sharpcorner.com Issue #282
Fortify your ASP.NET Core MVC & Web API applications with these essential secure coding guidelines. Learn practical techniques to prevent common vulnerabilities like XSS, CSRF, and SQL injection. ...
-
Protecting Against JSON Injection and Malformed Payloads in ASP.NET Core
c-sharpcorner.com Issue #281
Protect your ASP.NET Core APIs from JSON injection and malformed payloads! This guide details how to prevent attacks like privilege escalation, DoS, and XSS. Learn to use DTOs, strict validation, requ...