The Startup
Published in

The Startup

Azure Cosmos DB — SQL Injection Attack and Defense using Partitioned Repository Pattern

Does SQL Injection apply to Azure Cosmos DB even though it is NoSQL? YES! Can you prevent it? YES! See SQL Injection prevention using Parameterized Query and LINQ with Partitioned Repository Pattern.

UPDATE April 10, 2022: all projects in the GitHub repo have been upgraded to .NET 5.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Shawn Shi

Shawn Shi

Senior Software Engineer at Microsoft. Ex-Machine Learning Engineer. When I am not building applications, I am playing with my kids or outside rock climbing!