Securing your web app in Azure

by Frans Lytzen | 29/04/2018

So you have deployed your web app to Azure. Now, how do you go about making it secure? I gave a talk on this topic at DotNet Oxford on 24 April 2018 and recorded it. You can view the video below.

The video runs through a scenario using an ASP.Net Web App hosted on Azure App Service and covers a number of features you can use to improve your security - as well as a number of features that are not available for App Services.

The talk covers a lot of ground in an hour and everything is kept at a high level, but is nonetheless heavy on examples and code. Watching the video myself, I realised I say "Okay" and "So" way, way too much. Sorry...

***

James World made this nice sketch note of the talk, reproduced with permission. Sketch note


The source code is on GitHub.

Some key timings

Use SSL11:03
Virus scanning20:01
WAF21:00
Vnet23:20
Azure Key Vault26:10
Managed Service Identity27:50
Use Key Vault and managed identify to store secrets29:55
ASP.Net Core configuration with Key Vault31:55
Connect to Azure SQL with Managed Identity (or not)36:27
Encrypt data at rest38:00
Require secure transport40:30
SQL Always Encrypted41:40
Storage client-side encryption (not shown)52:00
Use Azure AD to access Azure53:25
Use Azure AD to access Azure SQL54:05
Supporting Security tools in Azure56:50
Detection57:45

Originally posted on Frans' blog.


Share this article

You Might Also Like

Explore more articles that dive into similar topics. Whether you’re looking for fresh insights or practical advice, we’ve handpicked these just for you.

When AI Joins the Migration Team

by Marcin Prystupa | 05/11/2025

Migrating legacy code isn’t easy – but what if AI could lend a hand? This is the story of how our team used ChatGPT, Cursor and Claude to accelerate an AngularJS-to-React migration, blending automation with human judgment to build better, faster, smarter.

AI Talent and Culture: Closing the Expertise Gap

by Nathan Ball | 30/10/2025

Building AI capability isn’t about hiring unicorns — it’s about empowering people. Discover how training, adaptable hiring, and purposeful partnerships can help close the AI expertise gap and create a culture where people and AI thrive together.

Unlocking Integration Testing With a Fake OIDC Identity Service

by Kelvin Stott, Jamie Round | 27/10/2025

Integration testing with tools like Playwright helps cut costs and reduce risk — but third-party authentication (e.g. Microsoft Entra) often makes it fragile. Using a Mock OIDC service can remove that barrier, making tests simpler, faster and more reliable.

Cookie Settings

Contact Us

NewOrbit Ltd.
Hampden House
Chalgrove
OX44 7RW


020 3757 9100

NewOrbit Logo

Copyright © NewOrbit Ltd.