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.

Why Automated Azure Cost Tools Aren’t Enough

by Frans Lytzen | 27/02/2026

Automated Azure cost optimisation tools are useful — but they don’t tell the whole story. Especially if you’re building and running your own applications in Azure. Real savings often sit at the architecture and code level, where experience and application insight outperform generic automation.

The AI Adoption Paradox: Why Waiting for Strategy (or Rushing Ahead) Is Holding You Back

by Sean Worthington | 23/02/2026

AI adoption often stalls between endless strategy and fragmented experimentation. Instead of choosing one, organisations can evolve both in parallel — building clearer objectives, growing confidence and delivering measurable value along the way.

AI in Core Business: Where Real Competitive Advantage Is Built

by James Gregory | 13/01/2026

AI creates real competitive advantage when it’s embedded in core business decisions and workflows – not just support functions. Here’s why leaders must rethink where AI is applied to unlock meaningful value.

Privacy & Cookies

Contact Us

NewOrbit Ltd.
Hampden House
Chalgrove
OX44 7RW


020 3757 9100

NewOrbit Logo

Copyright © NewOrbit Ltd.