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

Privacy & Cookies

Contact Us

NewOrbit Ltd.
Hampden House
Chalgrove
OX44 7RW


020 3757 9100

NewOrbit Logo

Copyright © NewOrbit Ltd.