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 3 of 23
Browse additional ASP.NET Core and .NET Security articles from the DotNetNews archive.
ASP.NET Core and .NET Security articles
Page 3 of 23
Newest first
-
My coding agent wrote outside the repo. Nothing stopped it.
Goat Review - Cyril Canovas Issue #553
You let a coding agent loose on a repository. It reads what it needs, then writes — a file two directories up, a ~/.config it had no business in, a /tmp script it runs next. When you look at how, the ...
-
VS Code Learn: Extending Agents
YouTube - Visual Studio Code Issue #553
Checkout key aspects of AI Agents with Tools, Tool sets, Permissions and Sandboxing. We'll also look at MCP (Model Context Protocol) and how to use it to connect your agents to external data sources. ...
-
CORS in ASP.NET Core (.NET 10) - Cross-Origin Done Right
codewithmukesh Issue #552
Configure CORS in ASP.NET Core .NET 10. Preflight, named policies, the AllowAnyOrigin + AllowCredentials trap, 7 misconfigurations, and a production checklist.
-
Foundry hosted agent isolation with Microsoft Agent Framework
Microsoft Dev Blogs - Roger Barreto Issue #550
Foundry hosted agent isolation exposes two independent controls. User isolation identifies whose data may be used. At the same time, Foundry hosted session isolation identifies where code and files co...
-
What .NET Code Protection Actually Does (And Why Decompilers Make It Necessary)
Medium Issue #549
.NET code protection exists because of a structural property of the platform: assemblies compile to CIL, an intermediate language that…
-
Protecting File Access in the wwwroot Folder in ASP.NET
Rick Strahl's Weblog Issue #547
In many of my applications I have a few files that are dynamically created as part of administrative tasks. These files tend to be cumulative and contain data that can be accessed directly from the fi...
-
SSH Is Not a Desktop
Rockford Lhotka's Blog Issue #545
I work across three physical PCs. Two of them (I’ll call them devbox1 and devbox2 ) are powerful desktop machines that sit in my office and run all the time. The third is my laptop, which goes with me...
-
PDF Security in .NET: Encryption, Redaction, and Digital Signatures
Medium Issue #545
PDF security is not limited to putting a password on a file.
-
Massive AutoMapper Vulnerability in .NET
YouTube Issue #544
Get every Dometrain 30% off with code HANDSON30: https://dometrain.com/courses/?ref=nick-chapsas&promo=youtube&coupon_code=HANDSON30 Hello, everybody. I'm Nick, and in this video, I will talk about th...
-
Can You Trust an LLM to Fix a Broken Locator?
Medium Issue #542
A measured study of multi-provider LLM consensus as a locator-healing signal — and why Automation Sandbox keeps the LLM out of the…
-
GitHub Copilot Agent Plugins: Testing Plugin Trust Across VS Code and Copilot CLI
C# Corner Issue #542
Learn how to test GitHub Copilot agent plugins across VS Code and Copilot CLI, focusing on trust, permissions, reproducibility, tool access, and security controls.
-
Let Postgres Enforce Tenant Isolation
Milan's .NET Weekly Issue #542
EF Core query filters can be bypassed. PostgreSQL row-level security enforces tenant isolation on reads and writes, if you connect with the right database role…
-
GitHub Copilot Agent Plugins: Testing Plugin Trust Across VS Code and Copilot CLI
C# Corner Issue #541
Learn how to test GitHub Copilot agent plugin trust across VS Code and Copilot CLI, including permissions, tool access, security, and reproducibility.
-
A Small HTML Attribute That Makes MFA Much Better
Medium Issue #538
Discover how one HTML attribute can make MFA faster, simpler, and more user-friendly in your .NET applications.
-
How Can Enterprises Secure ASP.NET Core APIs in Production?
Medium Issue #537
APIs have become the connective tissue of modern enterprise applications. They connect web and mobile applications, cloud services…
-
️ Global Error Handling in ASP.NET Core Done Right — IExceptionHandler
Medium Issue #537
For a long time, I handled errors the same way in almost every ASP.NET Core project.
-
How to Secure an Email Attachment Intake Service in C#
Medium Issue #536
Email attachment intake applications tend to move content quickly from inbox to storage, document processing, or other automated workflows.
-
Bot protection that outlives your provider
Medium Issue #535
Adding captcha to a .NET API — and what happens when one provider stops being enough.
-
AI Integration in .NET
Medium Issue #534
How to use provider-neutral abstractions, structured outputs, tool calling, resilience, observability, evaluation, and secure application…
-
Passkeys in ASP.NET Core 10
C# Digest Issue #534
how registration and sign-in actually work under the hood
-
Limit what NuGet packages can do in your project
Meziantou's blog Issue #534
When you add a NuGet package to a project, you often think about the runtime library only. In reality, packages can also import MSBuild props/targets and Roslyn analyzers. Those assets run during rest...
-
How to Validate Configuration in ASP.NET Core
Dev Tips Issue #533
Bad configuration should crash your app at startup, not deep in a request. Learn how to validate configuration in ASP.NET Core with Data Annotations and FluentValidation, and fail fast with ValidateOn
-
Grand Larceny Auto: Manually Unpacking a ConfuserEx-Protected .NET/Godot CTF Challenge
Medium Issue #533
A hands-on walkthrough of defeating rename obfuscation, control-flow flattening, caller-bound string encryption, and a logic bug in a…
-
.NET 10 RDP Honeypot: Logging Source IPs, Usernames, and Login Attempts
Medium Issue #532
I wrote this article before:
-
How to Scan and Sanitize File Uploads Before Storage in ASP.NET Core
Medium Issue #532
Virus scanning a file upload can tell us whether it contains a known threat, but it doesn’t change anything about the dangerous content…