security
ASP.NET Core and .NET Security Articles, Tutorials & News
ASP.NET Core and .NET Security articles, tutorials, and news from the DotNetNews archive.
562 articles Updated Page 2 of 23
Browse additional ASP.NET Core and .NET Security articles from the DotNetNews archive.
ASP.NET Core and .NET Security articles
Page 2 of 23
Newest first
-
How to Build a Provably Fair Verification Tool in C# with SHA-256 and HMAC-SHA256
C# Corner - Jutsu Casino Issue #568
-
Restoring Readable Crash Logs from Obfuscated .NET Builds: A Field Guide to Symbol Map Deobfuscation
C# Corner - Rustem soft Issue #568
Learn how to securely store .NET obfuscation maps and use them to restore readable C# stack traces from production crash logs.
-
Secure File Uploads in ASP.NET Core: Validate File Signatures, Not Just Extensions
C# Corner - Ananya Desai Issue #566
Learn how to secure ASP.NET Core file uploads by validating extensions and file signatures, enforcing size limits, and safely storing uploaded files.
-
Verify Webhook Signatures and Reject Replayed Requests
C# Corner - Saurav Kumar Issue #566
Learn how to verify HMAC webhook signatures from raw request bodies and prevent replayed requests with timestamps, event IDs, and idempotent processing in ASP.NET Core.
-
AI Security Agents: How GitHub Found 24 Android Vulnerabilities
C# Corner - Nidhi Sharma Issue #566
-
How to Add Rate Limiting to ASP.NET Core APIs
C# Corner Issue #565
Configure ASP.NET Core API rate limiting with built-in middleware, endpoint policies, HTTP 429 responses, and fixed, sliding, token bucket, and concurrency limiters.
-
How to Add Passkey Login to an ASP.NET Core Application
C# Corner Issue #565
Learn how to add passkey login to ASP.NET Core using WebAuthn, including credential storage, registration challenges, authentication verification, and security considerations.
-
How to Change JWT Signing Keys Without Breaking Existing API Clients
C# Corner Issue #565
Learn how to rotate JWT signing keys in ASP.NET Core while validating tokens signed with old and new keys during a secure transition.
-
GitHub Adds More CVE Data to the Security Advisory API
C# Corner - Aarav Patel Issue #565
-
Secure Password Hashing and Verification in ASP.NET Core
C# Corner - Sardar Mudassar Ali Khan Issue #564
-
How to wipe Android phone before trade in or selling?
Microsoft Tech Community - Jokse Issue #564
Before trading in or selling my Android. I want to make sure that my personal messages and other private information are completely removed from the device. I have been researching how to wipe Android...
-
Your code reads secrets from Vault. What do you test it against?
Medium - Ferhat Talha BULANIK Issue #563
I wrote a small package that starts and stops a real Vault from inside .NET
-
Complete Guide: Securing MS SQL Server on Ubuntu with Fail2Ban
C# Corner - Sardar Mudassar Ali Khan Issue #562
-
BOLA in ASP.NET Core: Why Authenticated Users Can Still Read Someone Else’s Data
Medium - Adrian Bailador Issue #561
Broken Object Level Authorization is OWASP’s #1 API security risk, and [Authorize] does nothing to stop it.
-
Keep Azure Foundry Hosted Agent credentials out of the browser with a BFF (Backend for Frontend)
C# Corner - Cristopher Coronado Issue #560
-
Use crypto.parsePKCS12() to Read PKCS#12 Files in Node.js
C# Corner - Saurav Kumar Issue #560
-
Azure Key Vault and BYOK: Lessons Learned
Microsoft Tech Community - gurjsing Issue #560
Bring Your Own Key (BYOK) lets you import externally generated key material into Azure Key Vault. Importing that material again creates a new version; it does not recreate the original version identif...
-
What’s Inside That Bearer Token? A Practical Guide to Encrypted JWTs (JWE) in .NET
Medium - Robert Dennyson Issue #559
How to recognize a JWE, inspect its header, and decrypt it safely with .NET when you own the right key.
-
Multi-tenant reporting in ASP.NET Core: row-level security your users can’t bypass
Medium - Dotnet Report Builder Issue #559
By Razi Syed. Sample code for this article: github.com/dotnetreport/dotnetreport-multitenant-rls
-
The 2 AM Bug That Taught Me How Obfuscation Actually Breaks Your Code
Medium - Skater .NET Obfuscator Issue #559
I used to think obfuscation was a “flip the switch and ship it” kind of tool. Then I spent a night debugging a TypeLoadException in a…
-
What Changes When an AI Agent Runs Without a User?
C# Corner - Aarav Patel Issue #557
-
GitHub Copilot Agent Mode: How to Control What an AI Coding Agent Can Do
C# Corner - Aarav Patel Issue #557
-
Building NotchX: A Privacy-First “Dynamic Island” for Windows
Medium - Navneetbhogal Issue #556
How I turned a Mac app I loved into a Windows tool - and why I treated a desktop utility like privileged software.
-
GitHub App Tokens Are Getting Longer: What Should Developers Check?
C# Corner - Aarav Patel Issue #555
-
Experimental support for Device Bound Session Credentials (DBSC) in ASP.NET Core: Exploring the .NET 11 preview - Part 8
Andrew Lock | .NET Escapades Issue #554
In this post I look at the new experimental support for DBSC provided by the Microsoft.AspNetCore.Authentication.DeviceBoundSessions package